RailsCasts Pro episodes are now free!

Learn more or hide this

Ben Matthews's Profile

GitHub User: benrmatthews

Site: http://benrmatthews.com/

Comments by Ben Matthews


As the following:

where("firstname ilike :q or lastname ilike :q ", q: "%#{query}%")


Trying to follow this tutorial with Rails 4 but getting a 'RuntimeError' when trying to insert the tags_list into the view.

Do I need to change anything for Rails 4? Do I need to do anything with the 'attr_accessible' method, as this is moved for Rails 4?


Add these gems to your Gemfile:

gem "therubyracer"
gem "less-rails"