Eoraptor Extracts - "Prepares.rb" 6:24 AM, Feb 8th
Just a simple one to start off today - This is a piece of code I've reused quite a few times and it's really saved me a lot of coding time retyping the same thing. In essence, prepares is a single drop in file for rails that adds a few niceties - basically preparing a model instance (via find) and storing it in an instance variable.
Posted by in Programming and it's been tagged as ruby on rails, eoraptor, code & provides. There are currently 2 comments.