- change .first call which checked presence of id field, but would be automatically sorted by the primary key ('id'), causing errors on join tables without the column - update use of offset/limit in model finders - only set created_at/updated_at attributes when they exist
Related issues
Bug #14866: Running foreman-rake db:convert:prod2dev fails "ArgumentError: wrong number of arguments (1 for 0)"
fixes #14866 - prod2dev Rails 4 compatibility
- change .first call which checked presence of id field, but would be
automatically sorted by the primary key ('id'), causing errors on
join tables without the column
- update use of offset/limit in model finders
- only set created_at/updated_at attributes when they exist