I want to create new user record through console, @user = User.create([{:name => "My name", :user_type => "nice_user"}]) when saving this @user.save, giving error undefined method save for Array
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|