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_
Ok I finally found the answer. I made the join table, 'entries' without an id field. This is require if using the join table as a model with extra data on it.
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