##// END OF EJS Templates
Allow a config/additional_environment.rb file to customize the Rails::Initializer....
Allow a config/additional_environment.rb file to customize the Rails::Initializer. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3018 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2816:35333367dff6
r2904:e02caeab0f07
Show More
time_entry_exemplar.rb
5 lines | 148 B | text/x-ruby | RubyLexer
/ test / exemplars / time_entry_exemplar.rb
class TimeEntry < ActiveRecord::Base
generator_for(:spent_on) { Date.today }
generator_for(:hours) { (rand * 10).round(2) } # 0.01 to 9.99
end