开发者

Rails Spree demands account creation after bootstrapping without sample data

I'm using the Spree Rails gem for my ecommerce site. During development I've been using the sample data. After re-bootstrapping the database using "rake db:bootstrap" and this time NOT loading sample data, any time I go to any page on my site, it redire开发者_JAVA技巧cts me to /users/new.

I have removed all my custom route rules.

Any ideas why this is happening?


Turns out that (I'm pretty sure) the problem was due to there being no records in the 'users' table, as Spree apparently requires at least one user of role admin.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜