These are chat archives for mailboxer/mailboxer

Jun 2015
Jun 25 2015 08:46
hello guys, I'm trying mailboxer but I have an error when I try to migrate. Using rails 3 and ruby 1.9.3

error: ake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::SyntaxError: ERROR: syntax error at or near "{"
LINE 4: REFERENCES {:name=>"receipts_on_notification...

execute("ALTER TABLE mailboxer_receipts\n ADD CONSTRAINT fk_mailboxer_receipts_mailboxer_notifications\n FOREIGN KEY (mailboxer_notifications)\n REFERENCES {:name=>\"receipts_on_notification_id\", :column=>\"notification_id\"}(id) \n ON UPDATE NO ACTION \n ON DELETE NO AC
Jun 25 2015 09:22
found it: /Users/bender/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/rails_on_pg-0.0.1/lib/rails_on_pg/foreign_keys.rb
sorry: rails_on_pg :)