ruby - Nested registration data in Rails 3.1 with Devise -
ruby - Nested registration data in Rails 3.1 with Devise - hello again, stackoverflow community! i'm working on writing simple blog scheme in rails, , i'm using devise authentication part. i got basic email/password registration going, , i've set one-to-one connection of users table (the basic 1 generated devise) , userdata table, containing things such username, permissions, about, , on. it's pretty easy - user table 100% devise vanilla, , has_one userdata. userdata belongs_to user. i tried expanding sign form generated devise, allow user enter, not e-mail , password, desired user name. way, when form sent, if names of form fields right (the right construction of nested hashes, such "email" user's email, , "userdata[name]" user's desired name), new user created automatically, , proper corresponding userdata entry should created automatically rails, correct? right now, i'm having huge issue userdata[name] field not appe...