github.com

Central point to collect locale data for use in Ruby on Rails...

paperplanes.de

...version I needed to do an awkward thing that only affected development mode, where Rails unloads all classes after each request. run_later runs code in a separate thread, and...

railsenvy.com

...a very affordable VPS host (256 RAM for $15) which has great support for Rails applications...

codaset.com

Concerns is a simple Rails plugin that provides you with a simple way to organise your Controllers, Models and Mailers, and split them into smaller chunks of logic. It is...

m.onkey.org

So here’s an overview of how things are going to work in Rails...

In Rails 2, when calling instance_eval or instance_exec on a scope, the scope will fetch its records from the database. This has been fixed in Rails...

This might eventually be fixed by Rails itself.\ Right now this is the way to have the rails_xss plugin not escape the body of ActionMailer mails.

If you want to inspect the compiled code of your erb (or haml) templates, you can run the following code...

Selenium does not speak SSL because it uses WEBrick that doesn't. When you use Selenium for Cucumber scenarios that...

If you have a FooController and also have a layout app/views/layouts/foo.html, Rails will use this without being told so. This is super convenient except never...

edgeguides.rubyonrails.org

Rails guide that covers PostgreSQL-specific column types and usages for Active Record. You should especially keep in mind the special datatypes that PostgreSQL offers. \ Types like json and array...

requiremind.com

...similar flavor as AngularJS, but a lot less features and geared towards Ruby on Rails. The attached link leads to a tutorial for a small blog written with Rails / Batman.js...

alfajango.com

We can now plug into every facet of the Rails jQuery UJS adapter, binding to custom events, and even customizing internal functions, without hacking or monkey-patching the rails.js file...

alfajango.com

Thanks to habits engrained by Rails 2’s link_to_remote and remote_form_for, we expect that Rails 3 would also handle the AJAX response for our remote links...

emphaticsolutions.com

In a great post about named routes in Rails, path vs. url, Viget Labs ponders which variant is best used. Most often we use foo_path, which when used in...

...Rails URL helpers will generate a relative path, where foo_url generates a full URL. In most cases the path makes most sense, but not always...

blog.peepcode.com

The Rails router has been written and rewritten at least four times2, including a recent rewrite for the upcoming Rails 3. The syntax is now more concise. But never mind...

blog.innerewut.de

...ve been made aware of people inside US Government organizations using my Ruby on Rails Security presentation as an excuse to limit Ruby on Rails adoption and projects inside those...

makandra dev
gist.github.com

When you encouter an unsafe string that you actually made html_safe before, perhaps you called one of the following...

makandra dev
railsforzombies.org

Learning Rails for the first time should be fun, and Rails for Zombies allows you to get your feet wet without having to worry about configuration. You'll watch five...

...videos, each followed by exercises where you'll be programming Rails in your browser...

The following code activates autoloading using ActiveSupport 3.x: require 'active_support' require 'active_support/dependencies' relative_load_paths = %w[app/controllers...

redmine.org

Phillip Koebbe from Ruby on Rails suggested inserting following code between the "bootstrap" and "initialize" sections of enviroment.rb. This hack fixes the problem. if Gem::VERSION >= "1.3.6" module Rails

guides.rubyonrails.org

When your Rails controller calls render, you can pass a :status option for the HTTP status code: render 'results', status: 400 All important status codes also have a symbol alias...

If you get an error message like that you are missing the Aspell files a specific language:

sudo gem install rails --version="=1.2.3" rails _1.2.3_ new-project-folder