5) Radiant::Admin::ExtensionsController GET to /admin/extensions should pre-set the template name
Failure/Error: login_as :admin
ActiveRecord::StatementInvalid:
Could not find table 'users'
OK, this is a little stranger:db:setup works as well to create the db's but:rake app:db:bootstrap also creates a new user but the user model it seems to be pulling from is not the one I'd expect. Not sure what's happening, but User.new builds a record with developer as an attribute, but the column in the was renamed in a previous migration to designer, so it can't save. I don't find anything explicitly creating the developer column, so it's almost like it's hanging around from a previous migration. Saving the record of course fails because the column doesn't exist, but I haven't seen yet what's creating that attribute in the first place.I can stop the code and drop into pry during the create_admin_user method and while the users table is expecting the designer column, User.new creates a record with the developer column and no designer column even though it claims it's pointed at the same table. And it's not a bug in sqlite (hey, never trust anything) because the same thing happens with postgresql. In fact, the User record created by User.new seems to be missing anything in a migration done after 019 (no session or language/locale columns either).
On Nov 12, 2014, at 9:42 AM, Jim Gay <j...@saturnflyer.com> wrote:It's surprising that the schema would load the developer column... Perhaps it rain the migrations and failed to continue past the renaming of the column..?