We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you use the migrations helper mentioned on README, it doesn't add an index to the table
create_table :cart_items do |t| t.shopping_cart_item_fields # Creates the cart items fields end
This helper should also trigger add_index :cart_items, [:owner_id, :owner_type]
add_index :cart_items, [:owner_id, :owner_type]
The text was updated successfully, but these errors were encountered:
I'm getting this error: ActiveModel::MissingAttributeError at /order_items can't write unknown attribute price_cents
price_cents
Would this be the cause of that?
Rails 5.0.3 Ruby 2.4.1
Sorry, something went wrong.
No branches or pull requests
When you use the migrations helper mentioned on README, it doesn't add an index to the table
This helper should also trigger
add_index :cart_items, [:owner_id, :owner_type]
The text was updated successfully, but these errors were encountered: