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.
The Beginner's Guide to Rails Helpers
Helpers in Rails are used to extract complex logic out of the view so that you can organize our code better. This article is meant to shed some light over the “How and when to use Rails Helpers”. Read The Beginner’s Guide to Rails Helpers
Money Makes the World Go Round: Using Money-Rails and BigDecimal
Dealing with money in a large Rails application can get quite complicated. But with the help of the money-rails library and Ruby’s BigDecimal object, your Rails app will become cleaner, more efficient, and easier to work with. Learn how to implement these tools in this blog post.
Customizing Rake Tasks In Rails 4.1 And Higher
Many things have changed in Rails with regard to how tests are run. Learn how to customize the Rails::TestTask to enhance your testing setup.
A Curated List Of Online Resources to Master Rails
Simple as that: a neat online resources list for mastering Rails. Let us know if we should add something there!
Managing development environment variables across multiple Ruby applications
The Twelve Factor App tells us to keep our secrets in the ENV, but what about when you have multiple apps, the same providers and different credentials? I wrote about how best to manage environment variables across multiple applications.
Ruby on rails company
Allerin is a prestigious international Software Development and Consulting Company.We have many years of experience developing Ruby on Rails/ RoR for small and large clients. As one of the globe’s top RoR Developers, we have an office in NY, USA.
Hold Please
Is one of your ninety-nine problems ActiveRecord callbacks? Hold Please can help.
Gem poly_belongs_to provides universal polymorphic identifiers
Access your ActiveModel records in a more meta-programming friendly way with universal polymorphic identifiers. https://github.com/danielpclark/PolyBelongsTo
Implementing a Priority Queue in Ruby
Ruby doesn’t have a priority queue implementation in its standard library. How hard could it be to implement our own? This article goes step by step through the implementation of this very useful data structure.
Setting up Ember.js (ember-cli) with Rails
After my post on how you can set up a Rails app with Ember.js, some people suggested ember-cli, a CLI that is becoming the canonical way of developing Ember apps. This article shows how you can integrate Rails and Ember using the ember-cli-rails gem, so check it out!
Planet Ruby Adds Chapter for Hosting & Delivery News
Hello, the Planet Ruby that presents the news of 150+ feeds on a single-page now includes a chapter on hosting & delivery (e.g. Heroku, Docker, Codeship, n friends). As always - new feeds welcome. Happy planet. Cheers.
Ruby Newbies
A community for newbies new to Ruby and alike. similar to the irc #new2ruby
Creating process workflow in Rails application
First tutorial on how to build process workflow using rails_workflow gem. Would like to hear some feedback :)
Export your db as a searchable API in Rails
A fine blog post that will walk you through some issues when building large APIs in Rails, refactor the code and eventually produce a super gem that does all the magic!
Traveling Ruby 20150210 released: smaller, supports Ruby 2.2, Windows
Traveling Ruby allows you to create self-contained, “portable” Ruby binaries which can run on any Linux distribution and any OS X machine. This allows Ruby app developers to distribute a single package to end users, without needing end users to first install Ruby or gems. [more inside]
New from RailsApps: Stripe JS With Coupons
The newest starter application from the RailsApps project shows how to integrate Rails with Stripe for payment processing. There’s a blog post describing the Stripe JS With Coupons starter application and a Stripe JS Tutorial.
Capybara-webkit on Windows
Ruby on Windows can be a hassle, but sometimes you don’t have a choice. This blog post shows you how to clear one (potentially soul-crushing) hurdle. https://nhh.co/blog/2015/01/28/getting-capybara-webkit-working-on-windows/
The Minitest Cookbook
If you want to use even the most simple tool effectively, you need to know how to hold it. That’s why I’m writing The Minitest Cookbook - to help Ruby and Rails developers at all skill levels master the techniques they need to write clear, maintainable tests and be able to pass that knowledge on to others. Join the mailing list to receive updates and bonus content along with the first two chapters for free.
Authorization with Rails 4.2 screencast (10:27 min)
A screencast that shows how to create a basic authorization system for a vanilla Ruby on Rails 4.2 application. Transcript and code examples are available too. http://www.amooma.de/screencasts/2015-02-09-authorization-rails-4.2/
Chat Correct - A new Ruby gem
Chat Correct is a Ruby gem to help students improve their English. A teacher can correct a student’s sentence and this gem will automatically provide information on the type of error (i.e. punctuation, spelling, etc.), the placement of the errors, and the number of errors.
Refactor Rails project from GPA 1.4 to GPA 3.0
How we refactor a startup project from GPA 1.4 to GPA 3.0. and add full tests in 6 month. [more inside]
Spring and RSpec 3 in RubyMine
Getting these tools to play nicely together takes a bit of work - and tracking down some weird errors. http://barbarian.engineer/2015/02/08/spring-rspec3-rubymine/
How to build codeschool.com clone and make $35 million in 4 years!
How I went from buying a domain to a deployed coding in the browser Rails app in a few days.
Tree Structures in your Rails models
Discussing the pros, cons, and how to work with different patterns of tree structures in Rails. Parent-child, materialized path, and nested set.