jo / puret

Puret is a minimal pure translation library for translating database values for Rails 3.
MIT License
74 stars 17 forks source link

form create and edit #10

Open nunziofiore opened 13 years ago

nunziofiore commented 13 years ago

HI,

thank you for your gem... I'm searching a simple demo also of the edit end new form of a model where is used puret... can you help me please???

wolfgangihloff commented 12 years ago

I would appreciate the same. I created a new project, scaffold User name:string location:string Create one user, works Add puret gem, do generator for User works, run migration done. go to user page index previously user shows up with no info in index listing, I set the default locale in application.rb to en, no change I create a second user with create, he gets a new entry in the translation table this second user shows correct in index and show action however when I edit this second user, the form_for is not prefilled with existing data

So what am I missing: