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.
19 Ruby on Rails Gems which Can Amaze
Ruby on Rails is great for its gems. Our team has picked up our favorites to share them with you. https://blog.rubyroidlabs.com/2017/04/19-ruby-on-rails-gems
Phoenix is better but Rails is more popular
Some thoughts about which framework to use. Ruby on Rails or Phoenix Framework? Ruby vs. Elixir.
Fragment Caching with Rails 5.1
A quick introduction into fragment caching with Ruby on Rails 5.1.
[Screencast] DataTables
The DataTables Javascript library creates a powerful display of your application’s data. Some of the features include pagination, server side processing, sorting and search. https://www.driftingruby.com/episodes/datatables
Planet Feed Reader in 20 Lines of Ruby (Atom, RSS & @JSONFeed)
Hello, I’ve added a planet feed news reader sample in 20 lines of ruby (with inline erb template) to the universal feedparser gem docu. Note: the feedparser now has built-in support for the new JSON Feed format. Happy planet. Happy hacking. Cheers.
S[O]LID - Open/Closed Principle by example
Describes how to keep classes and methods open for extension but closed for modification:
APIQ CMS v0.9.0 release
APIQ CMS v0.9.0 release was made. Read more
Leveling up with Git
Level up with Git — From the basics to managing multiple cross dependent branches and emergency situation solutions.
Put your tests to good use, Refactor with confidence
Testing your code well is hard, and it can be easy to neglect. You’ll be glad you didn’t though when you have to change the implementation of a feature without your users noticing anything, except maybe a performance bump. Let’s go through how we can use and modify existing tests to allow a change in code that you can be confident will work when you get to production.
Ruby Loops
Newbie in Ruby? Me too, let’s learn together? Read more
DotenvSekrets gem
I’ve just released a new gem named DotenvSekrets that joins the power of dotenv and sekrets in order to allow encrypted env files. Read more
Find Unused DB columns with paper_trail
I have been looking for methods to detect inactive fields in our DB, this is the first quick method I came up with.
Exploring Handlebars JS features !
Lets explore some Handlebars JS features ! Read more
Measuring rails routes test coverage
In a big project 100% code coverage is too expensive (if even possible). But there’re times you want to make sure that at least all your important routes are hit by the test suite. routes_coverage gem generates nice html simplecov-style reports on that.
Everything you should know about Ruby Splats
Even though splats in Ruby are common, there are some complex edge cases that can be misleading. Let’s see them together.
How we build JSON APIs with Rails
A couple of months ago, we started a new project and decided to use Ember on the front and Rails as an API backend. Early in development, we found ourselves repeating similar code in multiple places in our controllers, so we decided to roll our own solution to the problem. Check out our blog post for more details.
Semaphore Boosters - automatic parallel testing for Ruby projects
Semaphore Boosters automatically parallelizes tests in large Ruby projects and cuts test suite runtime down to a few minutes.
Practical Graph Theory in Ruby
Learn how to use the power of graphs to solve interesting problems!
How I teach web development with Rails
I’ve been teaching Ruby, Rails and Web Development for 3 years now. Today I want to share what I have learned.
Squasher is Rails 5.1 ready now
From now squasher is now longer a blocker which stops you from upgrade to the latest version of Rails
Ruby gem for managing proxies
proxy_fetcher gem can help your Ruby application to fetch free proxy lists from the HideMyAss service, validate them, and use for making some HTTP(S) requests.