Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Ben Matthews's Profile

GitHub User: benrmatthews

Site: http://benrmatthews.com/

Comments by Ben Matthews

Avatar

As the following:

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

Avatar

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?

Avatar

Add these gems to your Gemfile:

gem "therubyracer"
gem "less-rails"