Ruby on Rails Development Tips
A collection of protips to help you work better with rails and dodge those nasty bugs.
Show hover text on a link
Amy Lai
·
0 responses
·
rails, link title, tooltips
pg_search with eager load on searchable association
Kevin
·
0 responses
·
rails, ruby, pg_search
Sample to get started with PJAX in Rails
Michiel Sikkes
·
6 responses
·
rails, pjax, javascript
Cucumber World object
Robson Mendonça
·
0 responses
·
rails, cucumber, world object
Streaming Large Data Responses with Rails
Craig McNamara
·
3 responses
·
rails, streaming
Select Tag with class in Rails
Cassio Cabral
·
0 responses
·
ruby, rails
Host a static HTML/CSS site in Heroku
Rico Sta. Cruz
·
7 responses
·
php, css, heroku, static
simple full text search using postgres on rails
Greg Osuri
·
2 responses
·
ruby, rails, activerecord, postgresql
Rails Quick Tips - Random Records
Matt Polito
·
12 responses
·
ruby, rails
Testing concurrency with rspec, the easy way
Duarte Henriques
·
5 responses
·
ruby, rails, concurrency, rspec
Bypassing ActiveRecord query cache
Bashir Eghbali
·
0 responses
·
activerecord, caching, query cache, rails
Custom Form Builders in Rails
Matthew McMillion
·
0 responses
·
rails, forms, markup, slim
Page reload / refresh every 5 sec using Turbolinks - JS, Rails, JQuery
wojtek
·
2 responses
·
rails, reload, javascript, turbolinks
Make Heroku run a non-master branch
Jordan Trevino
·
0 responses
·
heroku, git
Nesting conditions in ActiveRecord
Ernie Miller
·
0 responses
·
ruby, activerecord, rails
Freezing time with time zone in RSpec
Wojtek Ryrych
·
0 responses
·
rails, rspec
Render a jsonp response in Rails
Jay Aniceto
·
2 responses
·
ruby, rails, jsonp, ajax
Render template if exists in Rails
Cristian Andrei
·
1 response
·
rails, templates, dynamic, views
Keep your Heroku apps awake with KeepAwake
Robert Pearce
·
15 responses
·
ruby, rails, heroku, nodejs
How to generate ActiveRecord insert SQL
Ben Caldwell
·
0 responses
·
ruby, rails, activerecord, arel
Handling has_and_belongs_to_many checkboxes with Rails 4 strong_parameters
Wilbur Suero
·
6 responses
·
rails, rails 4, habtm
Serving protected static content using nginx for speed and Rails server for authentication
Samuel Chow
·
0 responses
·
ruby, rails, nginx, thin
Track page views the smart way with the Impressionist gem.
Sergio Tapia Gutierrez
·
3 responses
·
gem, analytics, rails
Postgres Enum Type in Rails 4
Gleb Mazovetskiy
·
4 responses
·
ruby, rails, postgres
Ruby String to Boolean
flynfish
·
0 responses
·
ruby, rails