It may not be the problem, but I think there is some strangeness there 
in that you have a model called Setting and an attribute called setting.

possibly, Rails is getting confused - is it validating uniqueness of 
setting the attribute, or is it thinking that there can be only one 
Setting instance period...?

Try changing either your model name or that 'setting' attribute name. 
and see if that fixes it...

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to