Simply trying to save with ActiveRecord and it I keep getting \"TypeError: nil is not a symbol\"
if card_data[:card] and card_data[:deck] e = self.find_or_
For those of you coming here and needing to add the primary key, you can do it in a migration like this:
class AddIdToMyTable < ActiveRecord::Migration def change add_column :my_table, :id, :primary_key end end