The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Get More Out of Queries in Rails Using Bullet in Just 3 Steps
For a large scale projects with added complexity, manual code refactoring becomes a huge risk and time consuming. Therefore, it is recommended to use third party tools like Bullet Gem for the maintenance, security and optimization of codes. Read more at RailsCarma Blog on Bullet Gem.
Five More Active Record Features You Should Be Using
ActiveRecord is the backbone for most Ruby on Rails applications. The entire API of ActiveRecord cannot possibly be contained within a single or even a handful of digestible posts; but, here are at least five more pieces of that massive API that some might find useful.
Generating Reports with Pure RoR
I recently created a pattern for generating reports in the background in a Rails app. In this post I’ll show you how to use a simple yet powerful reporting pattern that can later be expanded to quickly generate complex reports for your customers.
Processing large CSV files with Ruby
Processing large CSV files with Ruby
Active Admin Bootstrap Skin
A tiny gem supports Twitter Bootstrap in Active Admin
Different approach to Ecommerce on Rails
I always wanted to build my own ecommerce platform from scratch. That’s not because I don’t like to reuse existing code – I really love to. That’s because I believe that we can do better. Now I have a chance to do it and you can follow my work on Github.
Paloma: page-specific javascript for Rails done right
Paloma offers a simple way to organize javascript code for your Rails project.
Rails 5: Belongs to Is Now a Required Association
I spent a couple of hours yesterday trying to track down why one of my models would not save without it’s relationship. Unfortunately, I was too deep into accepts_nested_attributes_for and fields_for to see the real problem. Turns out it was an easy change.
Moving from Mandrill to SendGrid or Amazon SES
With Mandrill going away soon, I’ve explored two of the main alternatives to their addon.
tty-prompt v0.5.0
Newest tty-prompt adds ability to expand options similar to Git hunks functionality, gather more than one answer with intuitive DSL using collect prompt and makes asking boolean question yes?/no? much more flexible and robust. Finally, you can theme all the prompts!
Sycamore
I’m very happy to share Sycamore, a slightly unusual tree data structure with you. It’s MIT-licensed, has quite good test- and documentation-coverage and even if it’s not for you, it might be worth checking out since it contains an interesting solution to the problem of null-values. Read more
Start testing your HTTP proxies with `proxy_rb`
I just released v0.9.3 of proxy_rb. It’s an extension for rspec and cucumber to write unit and acceptance tests for your HTTP proxy infrastructure. There’s also some “getting started”-documentation available. Read more
Discover TDD
Do you want to learn one of the most vital Ruby skills on the marketplace? I made this course for you!
From Rails to Hanami (Lotus) Part 1: Container Architecture, Models, Views and Assets
A pragmatic approach to migrate Rails apps into Hanami container:
The Hidden Cost of Indexes
In today’s episode, we dive into indexing, and some hidden costs.
Versionaire 1.0.0
This library provides immutable, thread-safe, semantic versioning. It can also convert (cast) primitive objects like String, Array, and Hash into a Version and visa versa. For further details, check out the README. It will soon be used by Milestoner and Gemsmith to make project and gem management much easier. Enjoy!
Slide Show (S9) Presentation Templates Now Jekyll-Compatible (Using Liquid)
Hello, Starting with Slide Show (S9) v3.0 all slide show/presentation templates are now Jekyll-compatible and use Liquid. Why? The idea is that your slide show template pack is “just” a Jekyll site and, thus, you can use your Liquid template skills for creating or changing slide show / presentation templates and if you use GitHub you can use the free built-in GitHub pages service for live previews, testing, and more. For some first example see: S6 Blank templates and the live demo • deck.js templates and the live demo. Any favorite slide show/presentation package? Questions? Comments? Welcome. Cheers.
Ruby Plus Podcast Episode #1
Enjoy the first episode of Ruby Plus Podcast
Why I left Blogger for Jekyll
Thought I’d share some of the main reasons I left Google Blogger for Jekyll + Github Pages. It’s not entirely Ruby-specific, but I thought other bloggers would find it interesting. Nonetheless, Jekyll is an excellent platform and I’m loving it so far! Read more
Check out Great tools for ROR
Hello Guys, I was reading on ROR , I found great post on ROR tools and now would like to share with you just check out
Building a Debug Log Filter with Ruby
This blog post explains how to build a clean and useful debug log filter which improves day to day debugging workflow with Ruby and Rails. Read more
New face for Active Admin
Flat theme for ActiveAdmin Read more
Common Bash Commands Done in Ruby
Bash is great for getting things done around your ruby project but it would be great to do some of that in ruby. Here is a post that explains how to replace some bash tricks with their ruby equivalents. Bash Commands – But In Ruby!
Ridiculously Fast API Authentication with Phoenix
With Phoenix, productivity is a first-class citizen. Micah Woods looks at how you can create a simple token-based API authentication from scratch.