Re: [Rails] activerecord wrong number of arguments 3 given 0..2 expected

2020-01-03 Thread fugee ohu
On Thursday, January 2, 2020 at 7:15:40 PM UTC-5, hasan...@gmail.com wrote: > > To set strict_mode on MySQL in rails, the knob you want is `strict: false` > > > On Thu, 2 Jan 2020 at 16:06, fugee ohu > > wrote: > >> I'm thinking I'm getting this is because of mysql sql_mode traditional vs >>

Re: [Rails] activerecord wrong number of arguments 3 given 0..2 expected

2020-01-02 Thread Hasan Diwan
To set strict_mode on MySQL in rails, the knob you want is `strict: false` On Thu, 2 Jan 2020 at 16:06, fugee ohu wrote: > 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

[Rails] activerecord wrong number of arguments 3 given 0..2 expected

2020-01-02 Thread fugee ohu
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 database.yml default: adapter: mysql2 encoding: utf8 pool: 5 socket: