RailsCasts Pro episodes are now free!

Learn more or hide this

Mike V's Profile

GitHub User: vormwald

Comments by Mike V

Avatar

Wow, how have I never learned the t command on github before... Thanks for the tip Ryan!

Avatar

Yup, you can pass friendly_id a method

ruby
  friendly_id :full_name, :use => :slugged
  def full_name
    "#{fname} #{lname}"
  end