activerecord wrong number of arguments 3 given 0..2 expected

I’m thinking I’m getting this is because of mysql sql_mode traditional vs strict When I run select @@sql_mode on mysql console it returns a list of modes which include TRADITIONAL somewhere in the middle of the list


default: &default
adapter: mysql2
encoding: utf8
pool: 5
socket: /var/run/mysqld/mysqld.sock

<<: *default
database: mydb_development
username: myusername
password: mypassword

To set strict_mode on MySQL in rails, the knob you want is strict: false

Thanks I found the cause of the error by running rake assets:precompile, I had an extra option that didn’t belong in app/assets/config/manifest.js I had put //= link_directory …/stylesheets .css .scss where it will only only one option I reverted to //= link_directory …/stylesheets .css to solve