Hard to say without seeing the seeds file, but, this generally happens
when it fails the validation.  Try using save! instead of save.  That
will cause a stacktrace which will let you know what was missed.

Darian Shimy
--
http://www.darianshimy.com
http://twitter.com/dshimy



On Tue, Nov 17, 2009 at 1:48 PM, Todd A. Jacobs
<[email protected]> wrote:
> I have a db/seeds.rb file that I want to load, but while the rest of the
> seeds file works fine, nothing is ever populated in :users. I just fails
> silently, so I can't figure out what exactly is causing the problem.
>
> I have authlogic installed into the user.rb model with
> acts_as_authentic. I'm sure that's part of the problem, but I'm not sure
> that manually turning it off each time I run the db:seed task is the
> right thing to do.
>
> Has anyone else seen this behavior, and how can I work around it?
>
> --
> "Oh, look: rocks!"
>        -- Doctor Who, "Destiny of the Daleks"
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=.
>
>
>

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=.


Reply via email to