anybody know how one overrides the default AR attribute methods?
ex.
c = Group
c.id
=> 3.0c.id.to_i
=> 3
reason is, I’m using Firebird DB which some tables return decimals for
id, I’d like to override that behavior so calling “c.id” returns an
integer
c = Group
c.id
=> 3
thanks