restful_authentication and relation specification

the user shouldn't belong to a state, the user should have_one :state

and also your belongs to should be :state not :state_id

David Herman wrote:

the user shouldn't belong to a state, the user should have_one :state

and also your belongs to should be :state not :state_id

Corrected the relation but the problem is existing