Popular Rails Programming Tips
How to redo a Rails database migration
Matthew Lenton
·
0 responses
·
rails, migration, redo, force
How to transfer data seamlessly between various Ruby on Rails environments and databases
Omar Kamali
·
2 responses
·
ruby, rails, heroku, database
Use before/after callbacks when touch-ing your Rails models
Michiel Sikkes
·
1 response
·
ruby, rails, cache
Deploing Symfony Project using MySQL to Heroku.
Mateusz Książek
·
8 responses
·
php, heroku, symfony, symfony2
Rails: add a route for a test
Alexander
·
2 responses
·
ruby, tdd, rails, controller
Require all files within a directory in Ruby
Andy Kifer
·
0 responses
·
ruby, rails
Render an HTML partial inside a JSON request
Michel Billard
·
2 responses
·
rails, json, format, ajax
Value objects - a complete guide to Ruby code that is testable, readable and simple
pdabrowski
·
0 responses
·
ruby, ruby on rails, rails, design patterns
Ruby: make plain text links clickable
Michael Kohl
·
2 responses
·
ruby, regex, rails, uri
Create .ruby-version and .ruby-gemset files using RVM
Dwight Scott
·
0 responses
·
ruby, rails, rvm, rvmrc
Share localhost with anyone
Lauren
·
17 responses
·
python, rails, osx, design
persisted? && new_record? for checking existing record
Rashmi
·
2 responses
·
rails, rashmi14yadav, active_record
Using External Database with Heroku
David Morrow
·
5 responses
·
rails, heroku
Case statement for Rails Enum
wojtek
·
1 response
·
ruby, rails, rails 4.1
erb2slim - Convert ERB to Slim
James Duncombe
·
3 responses
·
rails, haml, slim, erb
Forms, CSRF authenticity token and fragment caching in Rails
Bashir Eghbali
·
3 responses
·
xss, cache, csrf, fragment caching
Preloading scoped has_many :through associations
Alex Popov
·
0 responses
·
rails, activerecord, sql, eager loading
Dynamically add nested forms to an ActiveModel::Model form
Sam Slotsky
·
12 responses
·
rails, reflection, javascript, add nested form
Forget counter cache for many-to-many associations in Rails
João Marcelo Oliveira de Souza
·
0 responses
·
ruby, rails, active record, counter cache
Multiple file uploads with carrierwave
Daniel Alejandro Gaytán Valencia
·
0 responses
·
ruby, rails, carrierwave, serialize
Take control of your Heroku Git repository
Dharampal H S
·
2 responses
·
ruby, rails, heroku, deployment
How to create scoped and namespaced CSS using SASS
Peter Nixey
·
0 responses
·
css, rails, sass
Linkedin OAuth2 Login for Rails
Troy Martin
·
4 responses
·
rails, ruby, linkedin, oauth2
Setting up a brand new Postgres powered Ruby & Rails Development Environment with Vagrant
Rory Koehler
·
5 responses
·
rails, postgres, vagrant, virtual box