Please switch to Ruby 1.9's standard CSV library. It's FasterCSV plus support for Ruby's 1.9's m17n encoding engine.
== FixPublishersRomeoColors: migrating =======================================
rake aborted!
An error has occurred, all later migrations canceled:
undefined method `sort_name=' for #<Publisher:0x007fcf17b38768>/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activemodel-3.2.13/lib/active_model/attribute_methods.rb:407:in `method_missing'
/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/attribute_methods.rb:149:in `method_missing'
/Users/Administrator/Documents/Projects/Connect/BibApp/lib/stop_word_name_sorter.rb:23:in `update_sort_name'
--
You received this message because you are subscribed to the Google Groups "bibapp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+un...@googlegroups.com.
To post to this group, send email to bib...@googlegroups.com.
Visit this group at http://groups.google.com/group/bibapp?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hi all,
So I made the switch to the new release, but I'm encountering errors when running rake db:migrate (per update instructions on Github). The original rake aborted message:
Please switch to Ruby 1.9's standard CSV library. It's FasterCSV plus support for Ruby's 1.9's m17n encoding engine.
I traced this to the remove_login_from_users.rb (11:in 'up') file. Google said to just remove FasterCSV, which I did, but then I received the "uninitialized constant RemoveLoginFromUsers::CSV" error. The note in the file indicated that it was not terribly vital, so I deleted it, just to see what my next error would be:
== FixPublishersRomeoColors: migrating =======================================
rake aborted!
An error has occurred, all later migrations canceled:
undefined method `sort_name=' for #<Publisher:0x007fcf17b38768>/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activemodel-3.2.13/lib/active_model/attribute_methods.rb:407:in `method_missing'
/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/attribute_methods.rb:149:in `method_missing'
/Users/Administrator/Documents/Projects/Connect/BibApp/lib/stop_word_name_sorter.rb:23:in `update_sort_name'
So what am I doing wrong?
--
--
rake aborted!An error has occurred, all later migrations canceled:
undefined method `sort_name=' for #<JournalArticle:0x007fe8f3cacf68>/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activemodel-3.2.13/lib/active_model/attribute_methods.rb:407:in `method_missing'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/attribute_methods.rb:149:in `method_missing'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/authorization-1.0.12/lib/publishare/identity.rb:111:in `method_missing'/Users/Administrator/Documents/Projects/Connect/BibApp/lib/stop_word_name_sorter.rb:23:in `update_sort_name'/Users/Administrator/Documents/Projects/Connect/BibApp/app/models/work.rb:149:in `before_save_actions'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:451:in `_run__646292450448923014__save__1025488930084348983__callbacks'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_save_callbacks'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `block (2 levels) in save'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `block in save'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/persistence.rb:181:in `update_attribute'/Users/Administrator/Documents/Projects/Connect/BibApp/db/migrate/20111111201022_split_publication_date_in_works.rb:23:in `block in up'/Users/Administrator/Documents/Projects/Connect/BibApp/db/migrate/20111111201022_split_publication_date_in_works.rb:17:in `each'/Users/Administrator/Documents/Projects/Connect/BibApp/db/migrate/20111111201022_split_publication_date_in_works.rb:17:in `up'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:370:in `up'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:410:in `block (2 levels) in migrate'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:410:in `block in migrate'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:389:in `migrate'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:528:in `migrate'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:720:in `block (2 levels) in migrate'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:777:in `call'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:777:in `ddl_transaction'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:719:in `block in migrate'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:700:in `each'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:700:in `migrate'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:570:in `up'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/migration.rb:551:in `migrate'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:193:in `block (2 levels) in <top (required)>'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'/usr/local/rvm/gems/ruby-1.9.3-p194@bibapp/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
--
You received this message because you are subscribed to the Google Groups "bibapp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+un...@googlegroups.com.
To post to this group, send email to bib...@googlegroups.com.
Visit this group at http://groups.google.com/group/bibapp?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "bibapp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+un...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "bibapp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+un...@googlegroups.com.
To post to this group, send email to bib...@googlegroups.com.
Visit this group at http://groups.google.com/group/bibapp?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "bibapp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+un...@googlegroups.com.
Howard
--
You received this message because you are subscribed to the Google Groups "bibapp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+unsubscribe@googlegroups.com.
Howard
--
You received this message because you are subscribed to the Google Groups "bibapp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+unsubscribe@googlegroups.com.
=====================================================================
Please note that this e-mail and any files transmitted from
Memorial Sloan-Kettering Cancer Center may be privileged, confidential,
and protected from disclosure under applicable law. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any reading, dissemination, distribution,
copying, or other use of this communication or any of its attachments
is strictly prohibited. If you have received this communication in
error, please notify the sender immediately by replying to this message
and deleting this message, any attachments, and all copies and backups
from your computer.