Re: [Rails-core] Should a new foreign_key type be added to adapters so that add_reference/add_belongs_to could use that vs. hardcoding the integer type?

2014-09-04 Thread Yves Senn
Specifying the `:type` on `references` has already been added. See https://github.com/rails/rails/pull/16231 for more details. On Wednesday, September 3, 2014 11:54:50 PM UTC+2, Rafael Mendonça França wrote: Although there is the undocumented native_database_types method that returns a hash

Re: [Rails-core] assign_attributes method not found

2014-09-04 Thread Jason Fleetwood-Boldt
indeed... sorry I just get in the habit of helping newbies who do would do well to learn more advanced introspection/debegging techniques. My bad. Maybe your method is defined as delegate :x, :to = :y ? I hate that those don't work with Go-To-Declaration -- really drives me nuts If you