Cannot use "type" as attributed name in model.
it will issue an error when you use find, e.g., Operation.find :all
>> Operation.find 1
SyntaxError: compile error
/home/tk/eclipse/flex/ihp-report/branches/march/IHP/vendor/rails/activerecord/lib/active_record/base.rb:1748: syntax error, unexpected tINTEGER
Object::0
shit
沒有留言:
張貼留言