Closed baschtl closed 10 years ago
In https://github.com/fulcrum-agile/fulcrum/blob/master/app/controllers/users_controller.rb#L15 User.find_or_create_by_email is used. This throws a NoMethodError. Instead, User.where(email: 'email@email.com').first_or_create should be used.
User.find_or_create_by_email
NoMethodError
User.where(email: 'email@email.com').first_or_create
I try to create a PR for this in the next days.
Is already tackled by https://github.com/fulcrum-agile/fulcrum/pull/239.
In https://github.com/fulcrum-agile/fulcrum/blob/master/app/controllers/users_controller.rb#L15
User.find_or_create_by_email
is used. This throws aNoMethodError
. Instead,User.where(email: 'email@email.com').first_or_create
should be used.I try to create a PR for this in the next days.