##// END OF EJS Templates
Fixed: error when changing tracker on the new issue form (#4345)....
Fixed: error when changing tracker on the new issue form (#4345). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3125 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2816:35333367dff6
r3011:8f33c6589d67
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