Hello All,
I just started trying to use the Oracle enhanced adapter and it's
failing for me.
Models:
class Fact < ActiveRecord::Base
self.set_table_name "fact_prp"
end
When am trying to run the below statements in rails console am getting this error
Error:
-------
Could not log "sql.active_record" event. NoMethodError: undefined method `name' for :returning_id:Symbol
ActiveRecord::StatementInvalid: OCIError: ORA-00904: "ID": invalid identifier:
Statements
----------------
fact.prp_month_skey = '201403'
fact.save
Can anyone please help me to resolve this issue.....
With Regards,
Rajendra P.