aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/inspector.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-05-13 16:33:22 +0200
committerYves Senn <yves.senn@gmail.com>2014-05-13 16:51:04 +0200
commit6470f374c98e893f460e0db29ad1d535fe028794 (patch)
treee5ca2034cf49fbdcbd30be3d21ab6c38770b7b55 /actionpack/lib/action_dispatch/routing/inspector.rb
parent15285f22483363d2fee8b501a1f2a39de03d7473 (diff)
downloadrails-6470f374c98e893f460e0db29ad1d535fe028794.tar.gz
rails-6470f374c98e893f460e0db29ad1d535fe028794.tar.bz2
rails-6470f374c98e893f460e0db29ad1d535fe028794.zip
pg, clarify default behavior for composite types.
* by default composite types are mapped as `OID::Identity` and issue a warning * the user is advised to register his own `OID::Type` to make use of composite types Registering a new `OID::Type` does currently not allow to specify the type casting behavior when writing to the database. In order for it to work we need to use the values within `@attributes`. They are already being type casted and are ready to be written to the DB. See https://github.com/rails/rails/blob/57643c961feb24b662620d330e71103a830003e8/activerecord/lib/active_record/attribute_methods.rb#L460-L462
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/inspector.rb')
0 files changed, 0 insertions, 0 deletions