Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

phaex's Profile

GitHub User: phaex

Comments by

Avatar

Thanks for the nice RailsCast. Slightly changed your code to work with AR attribute type as well:

https://gist.github.com/919326