Calling #gsub on a string that was previously marked as #html_safe will lead to unexpected behavior. E. g. backreferences...

Be careful to name any file @imported by SASS with a leading underscore. SASS files not beginning with an underscore...

Instead of this: Image.order('images.created_at DESC') You can write this: Image.order(created_at: :desc) Not only do you not...

By default, only application.js, application.css and all non-JS/CSS files are precompiled into public/assets. If you have asset manifests...

This error occurs when you already have a database.yml which defines the database for the cucumber environment instead of test...

github.com

Ancestry is a gem/plugin that allows the records of a Ruby on Rails ActiveRecord model to be organised as a tree structure (or hierarchy). It uses a single, intuitively formatted...

blog.codeclimate.com

“Fat models” cause maintenance issues in large apps. Only incrementally better than cluttering controllers with domain logic, they usually represent...

makandra dev

We forked craken today and fixed one of the issues we had with new (>0.8.7) rake versions. The craken:install...

Haml 3.1.2 displays single quotes in FormBuilder#text_ field html escaped. You may see something like that:

If you upgrade to the mysql2 gem, you will run into the problem that the server's database.yml (which is...

github.com

When Rack::Bug has been added to your project and your Apache2/Passenger only replies with an Error 500 (Internal Server...

...Sidekiq initializer: Sidekiq.remove_delay! If you need to keep Sidekiqs delay features, add Sidekiq.hook_rails! before the option above. The sidekiq methods will be prefixed with sidekiq_ then...

...won't notice it during development. But with caching active (on production or staging) Rails will write an empty all.js file without complaining...

You cannot say this because url_for only takes one parameter: url_for(@deal, :tab => 'general') # won't work

Did you use the :select option in a find, and forgot to include foo?

ankane.github.io

Create beautiful Javascript charts with one line of Ruby. Promising chart library for easily rendering charts with Google Charts.

github.com

jQuery plugin that makes it easy to dynamically add and remove records when using ActiveRecord's nested attributes.

youtube.com

Interesting interview with DHH, where he talks about how they made the new Basecamp feel very fast without using a...

github.com

Sometimes you inherit a non Rails or non Rack based web app such as PHP, Perl, Java / JEE, etc. I like using cucumber for functional testing so I put together...

github.com

delocalize provides localized date/time and number parsing functionality for Rails...

makandra dev
rdoc.info

Ruby Rails

github.com

Or, you can test your Rack application (or Sinatra, or Rails, or Merb) using arbitrary HTTP client libraries, to check interoperability...

sixfriedrice.com

...your FileMaker data to Ruby with elegance and speed. Now your Ruby scripts and Rails applications can talk directly to your FileMaker server with a syntax that just feels right...

leadthinking.com

...The idea is to make building desktop apps as simple (and fun) as building Rails websites...