Ruby on Rails Development Tips
A collection of protips to help you work better with rails and dodge those nasty bugs.
Easily Enable the Ruby Debugger Under Pow
Attila Györffy
·
2 responses
·
rails, debugger, pow
Totally Bogus Doubles for Tests
Ian Whitney
·
0 responses
·
ruby, rails, minitest, mocking
Paperclip validates_attachment_size with RSpec (>= 2.3.5 | <= 3.0.0)
Guillaume Hain
·
1 response
·
rails, gem, paperclip, rspec
ActiveModel::Serializers - JSON API Heaven
Matt Brewer
·
4 responses
·
ruby, rails
hstore and Rails Form
shinn
·
0 responses
·
rails, form, hstore, openstruct
Sort gems in your Gemfile
Alex G
·
8 responses
·
rails, vim, gemfile
rails.vim: navigating your Rails project
Sindre Moen
·
0 responses
·
ruby, rails, vim
Set template option in your database.yml for PostgreSQL
Adam Stankiewicz
·
0 responses
·
rails, postgresql
Fix Rspec+Capybara timeouts
Joe Sawyer
·
0 responses
·
ruby, rails, rspec, capybara
Sidekiq on Heroku with Redis To Go Nano
Manuel van Rijn
·
0 responses
·
ruby, rails, heroku, redis
using custom host, server, and port in rackup or foreman
Bayu
·
0 responses
·
ruby, rails, sinatra, foreman
Rails 4 javascript_include_tag Gotcha
Joe Connor
·
0 responses
·
rails, javascript, sprockets, rails4
OSX Influenced bash aliases
Austin Turnage
·
8 responses
·
rails, aliases, osx, bash
Ruby methods: all? vs any?
Vu Manh Cuong
·
0 responses
·
ruby, rails, any?, all?
Make your own gem
Mert AKSOY
·
2 responses
·
ruby, rails, gem, yuzdeyuzmert
Get rid of the Mongoid translation missing errors (Mongoid 4.0 & Rails 4.0)
Pablo Torrecilla
·
3 responses
·
ruby, rails, mongoid, i18n
User Interface Thinking in Rails: An Example (Part 1)
Joe Fiorini
·
0 responses
·
rails, ajax, javascript, flight
“You are trying to cache a Ruby object which cannot be serialized to memcached.”
Arthur Chang
·
0 responses
·
rails, caching, scaling, marshalling
Basic http authentication using rspec and rack-test.
Alexandr Korsak
·
0 responses
·
ruby, rails, sinatra, grape
Use optimistic and pessimistic locking for critical models
Adam Stankiewicz
·
0 responses
·
rails, activerecord
[ActionMailer] method`.deliver` is already deprecated, use this instead.
Robbie Marcelo
·
0 responses
·
rails, actionmailer, rails4, rails5
pre-commit hooks
Angel Botto
·
0 responses
·
ruby, rails, hook, git
Rails rake task, clean up database, remove duplicates on multiple columns
Troy Martin
·
0 responses
·
rails, remove duplicates, rake
Retina image support for Rails apps
Oliver Leitzgen
·
0 responses
·
rails, gem, retina, github