Rails

Important tips when you deploy Rails to Dreamhost

{{183170786}}

Categories:

The case of the cursed Rails project :P

{{364507430}}First this. Now I realize giving a database field the same name of a Object public instance method wasn’t the best idea I could have.
Stupid errors I know. But it’s nice to learn things the hard way. You won’t forget easily thereafter.

Categories:

"undefined method `rewrite' for" aka @url considered harmful

{{133416492}} “link_to/url_for and related uses the ActionController::Base @url
instance variable to generate URLs, so if you (or plugins you’ve
installed) clobber it somehow, you’ll get this error.”

Categories:

Subscribe to RSS - Rails