jo/puret — Issue #11: NameError in OffersController#create  uninitialized constant Offer::OfferTranslation
Author: wolfgangihloff
Created: 2012-01-03 14:25:58+00:00
State: open

I see the following error, when I submit a new offer:
```http
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
```ruby

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