factory girl - Rails association.create and association.create! returns nil -
I'm just throwing it out because I can not really understand it when I call for example I have tried Rail 3.2.13 and 3.2.12 and they both do the same thing. Edit Create and create both in active records! Ends in this method which is to return the record or throw exceptions. High Definition> User.articles.create! {Title: 'blah'} Zero is returned but the object is formed. I have not seen anything like this before and wondered what else has anyone else?
Comments
Post a Comment