ruby - Cannot migrate Devise Token Auth project -


nomethoderror: undefined method `[]' #<activerecord::migration:0x00000001fe0fa0> 

this pops whenever try running rake:db migrate

i've been following guide word word

i'm having tremendous trouble interpreting stacktrace pastebin

this unbelievable it's typo (or that?) @ migration file generated generator.

see ..._devise_token_auth_create_users.rb file @ db/migrate directory. see @ first line of migration file there odd [4.2] string.

class devisetokenauthcreateusers < activerecord::migration[4.2] 

just remove odd [4.2] string line , voila.

however, must admit that, experience made me think twice using gem @ project.


Comments

Popular posts from this blog

Listboxes in c# -

Excel Duty List -

Multilayer CSV to filtered excel -