Ruby on Rails Development Tips
A collection of protips to help you work better with rails and dodge those nasty bugs.
Monkeypatch ActiveRecord so .find_each goes in descending order by id
Jeremy Raines
·
0 responses
·
rails, activerecord
Rails app templates
Chris Bell
·
0 responses
·
rails, github
Make sure javascript click can work on nomal link
Leon Guan
·
0 responses
·
rails, javascript
rails3-jquery-autocomplete
Roberto
·
0 responses
·
rails, 3
Access rails helper methods anywhere [Rails4]
Dino Reić
·
0 responses
·
rails, ror
Rake task to create ~/.pgpass based on heroku:config
Jeremy
·
0 responses
·
heroku, postgresql, rake
Heroku Resources
Tom Milewski
·
0 responses
·
rails, heroku, ssl, dns
Cool Ruby Gems
Bob Roberts
·
0 responses
·
ruby, rails
Ruby on Rails: Declare a controller method as a helper
Yannis Jaquet
·
0 responses
·
rails, controller, helper
update rails test DB after a running a migration
bjh
·
0 responses
·
shell, rails, alias, migration
Semantic Version your Gemfile
Matthew Rudy Jacobs
·
0 responses
·
ruby, bundler, rails
Developing with Small Tools
Micah Cooper
·
0 responses
·
ruby, rails, tools
Generate unique_id module
Alexandr Korsak
·
0 responses
·
ruby, rails, mongoid
Reduce SQL queries run when generating conditional content
Kieran Pilkington
·
0 responses
·
ruby, rails, on
FactoryGirlRails load sequence
Rafael Gumieri
·
0 responses
·
rails, factorygirl
Persistant URL Params in Rails
dennis monsewicz
·
0 responses
·
rails, rails3
Speed up Ack on a Rails project
Frederic Jean
·
0 responses
·
rails, ack
Stubing class constants with RSpec
Matjaz Muhic
·
0 responses
·
ruby, rails, rspec
Auto run your rails migrations when switching branches
Rodrigo Kochenburger
·
0 responses
·
ruby, rails, git
Bash alias for last rails migration
Shane Gibbons
·
1 response
·
rails, bash
Rails #changes method
Amy Lai
·
0 responses
·
rails
Working with time offsets into the past
Brad Fults
·
0 responses
·
rails, activerecord, time
Heroku: deploy and migrate with one command
Johnny Rodgers
·
0 responses
·
rails, heroku
Postgres, the Best Tool You're Already Using
Bhavin Javia
·
0 responses
·
rails, activerecord, postgres