RE: Problem with plurals, migrations?

def self.down

“hardware”, and is getting confused. But, I didn’t see a method in
the docs to set the table name ala ActiveRecord.

Could the problem be that you’ve got two classes named
Hardware? Maybe name the migration class CreateHardware and
see what happens.


Oh, duh, thanks. I need more caffeine.

  • Dan

This communication is the property of Qwest and may contain confidential
privileged information. Unauthorized use of this communication is
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
all copies of the communication and any attachments.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs