You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing rails 4.2.0.beta2 on my project and it works well except that all my tests are red due to the following error :
method_missing': undefined method true' for #User:0x007f9568a5a578 (NoMethodError)``
with a basic factory :
FactoryGirl.define do
factory :user do
sequence(:email) { |n| "test#{n}@test.com"}
station
password('test1234')
password_confirmation('test1234')
end
end
This error come from authlogic because If I remove remove authlogic from my User model there isn't error anymore.
Any advice ?
The text was updated successfully, but these errors were encountered:
and the only_integer options seems to have been changed recently in rails (rails/rails@64a05a9). But I don't know why it treat true as a symbol (so send true to the record) :
Hello,
I'm testing rails 4.2.0.beta2 on my project and it works well except that all my tests are red due to the following error :
method_missing': undefined method
true' for #User:0x007f9568a5a578 (NoMethodError)``with a basic factory :
This error come from authlogic because If I remove remove authlogic from my
User
model there isn't error anymore.Any advice ?
The text was updated successfully, but these errors were encountered: