search for: format_shor_d

Displaying 1 result from an estimated 1 matches for "format_shor_d".

2006 Apr 07
0
what goes where on ruby on rails?
I think this subject deserves a cheat page. Where would you put the following 1. enhacements to base classes (like Numeric.format_integer or Time.format_shor_date) I created files in \lib (like \lib\format.rb) and added require "format" in \app\controllers\application.rb 2. general helpers I want to be available to every view I created a file in \lib (like \lib\debug_helper_module.rb), with a module definition (like "module DebugHelper&...