seejohncode.com

This sounds promising: The best part from the Rails side, is that you don’t have to change anything at all in your code to swap a varchar out for...

blog.carbonfive.com

...to handle miscellaneous configuration elements for your application. One little known secret is that Rails 3 allows you to define your own configuration elements trivially...

blog.bitcrowd.net

Recently, we had an interesting lunch-break with the rails 3.1. asset-pipeline in production mode. Daniel Zahn made a blogpost about our journey, precompiling assets, fingerprinting, Haml, Sass & Compass...

weblog.rubyonrails.org

Rails 3.0 has been underway for a good two years, so it’s with immense pleasure that we can declare it’s finally here. We’ve brought the work of...

railslab.newrelic.com

Learn everything you need to know about Scaling your Rails app through 13 informative Screencasts produced by Gregg Pollack with the support of New Relic...

axonflux.com

There are a bunch of basic functional elements to building out a popular Rails app that I've never really seen explained in one place, but we had to learn...

railstutorial.org

A thorough introduction to web development with Ruby on Rails

Remember how Rails 2 came with an awesome feature that broke all code using Time.now or Time.parse? This behavior is now the default for Rails 3. Disable it by adding...

blog.bigbinary.com

Rails 5 migration classes look like this now: class CreateUsers < ActiveRecord::Migration[5.0] Mind the [5.0] at the end. They do this to evolve the ActiveRecord::Migration API without breaking...

nandovieira.com

...to store JSON data and choose the one that matches your use case best. Rails 4.2 includes support for jsonb columns, too. The article outlines different ways on how to...

37signals.com

How to call routes, make requests and try out helpers from the Rails console...

localeapp.com

A possible way for localisation in Rails applications that allows editing translations remotely...

...DELETE. Redirect responses to GET and POST will be followed with a GET. The Rails form_for helper will use a workaround to send POST requests with a _method param...

...Fix on the client: Make a POST request with method override The default configuration Rails and Sinatra includes a Rack middleware that lets you control the HTTP method used for...

Rails doesn't know which host it is running on. For generating links, it strips the hostname off the request URL, which can lead to errors when you have absolute...

Lets say we have a user with a contract whereas contract is a mounted carrierwave file. Now we want to...

Sometimes you might want to limit the number of associated records in a has_many association, but cannot add a...

blog.bigbinary.com

...is raised because your old database does not have a configured environment yet, which Rails 5 enforces. If this error occurs while migrating your parallel test databases, make sure to...

makandra dev
github.com

Katapult was an endeavor to dramatically speed up starting a new Rails application. However, it turned out to save less time than expected, while requiring more time for maintenance than...

...code antiquated. Nevertheless, its architecture may remain an inspiration on how to use the Rails generators programmatically...

The migration DSL now supports adding and removing foreign keys. They are dumped to schema.rb as well. At this time...

...let pages pop up as errors occur), the capybara-20120326132013.html files will clutter up your Rails root directory. To tell Capybara where it should save those files instead, put this into...

github.com

When CoffeeScript was added to Rails 3.1 they forgot one very important part, the ability to use it when responding to JavaScript (JS) requests! In Rails 3.1 it’s incredibly...

In a Rails application, *_spec.rb files get special treatment depending on the file's directory. E.g. when you put a spec in spec/controllers your examples will have some magic context...

rubyrailways.com

I have been playing around with RESTful Rails recently. Below is my collection or Rails REST howtos, tutorials and other resources I have found so far...

iphoneonrails.com

ObjectiveResource is an Objective-C port of Ruby on Rails' ActiveResource. It provides a way to serialize objects to and from Rails' standard RESTful web-services (via XML or JSON...