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
I see the following error, when I submit a new offer:
NameError in OffersController#create uninitialized constant Offer::OfferTranslation Rails.root: /Users/wolfgang/RubymineProjects/wasaabi Application Trace | Framework Trace | Full Trace app/controllers/offers_controller.rb:49:in `create'
My model
class Offer < ActiveRecord::Base attr_accessible :title, :content, :valid_from, :valid_to, :base_price, :base_currency belongs_to :user has_many :orders puret :title #, :description, :location, :city, :costs_include default_scope :order => 'offers.created_at DESC' end
I tried commenting out some of the elements, where or how does the element get initialized? Do I have to provide data for the translation on create?
I am on ruby 1.9.2p290, Rails 3.1.3
The text was updated successfully, but these errors were encountered:
So my changes included:
Sorry, something went wrong.
No branches or pull requests
I see the following error, when I submit a new offer:
My model
I tried commenting out some of the elements, where or how does the element get initialized? Do I have to provide data for the translation on create?
I am on ruby 1.9.2p290, Rails 3.1.3
The text was updated successfully, but these errors were encountered: