dennisreimann / masquerade

masquerade is the predecessor of masq: https://github.com/dennisreimann/masq - please consider using masq from now on, as it is the more modular approach.
MIT License
218 stars 46 forks source link

no such table: timezones #30

Closed elf-pavlik closed 12 years ago

elf-pavlik commented 12 years ago

while trying to edit persona i got:

Rendered personas/edit.html.erb within layouts/application (137.1ms)
Completed 500 Internal Server Error in 144ms

ActionView::Template::Error (SQLite3::SQLException: no such table: timezones: SELECT "timezones".* FROM "timezones"):

$grep timezone db/migrate/*

db/migrate/001_create_initial_schema.rb:      t.string :nickname, :email, :fullname, :postcode, :country, :language, :timezone
db/migrate/001_create_initial_schema.rb:    drop_table :timezones

no create?

elf-pavlik commented 12 years ago

maybe just switching to ActiveSupport::TimeZone::MAPPING http://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html