scaffold and Money Error?

this is the error Im Getting I generated a scaffold with a decimal
when it generated it does this error

/staff_scheduler/app/controllers/log_entries_controller.rb:28: formal
argument cannot be a constant
  def newql(Money.new(0, :dollars))

thanks for any help

Gabriel

Why does scaffold with decimal add all this Money to my application?