Category Archives: Ruby on Rails
How to: Migrate passwords from legacy systems to Devise
When you’re migrating from a custom authentication solution to Devise, it’s highly likely your users’ passwords are hashed or stored differently from how Devise does it. If the legacy system has a sane, secure solution then you can implement a custom … Continue reading
Posted in How To, Ruby on Rails
1 Comment
5 Ways to set Attributes in ActiveRecord
Rails 3 allows the developer to change ActiveRecord attributes in various ways. I describe five methods, each with its own unique side-effects. Includes handy cheat sheet. Continue reading
Posted in Ruby on Rails
3 Comments