| dmc68 | so if you see something in their that jumps out at you i would love your feedback |
| replikant | im newbie myself.. i had that error several times and it was basically syntax |
| jamesb43 | Is it complaining about the password method? |
| dmc68 | undefined method `password' for #<User:0x46e6870> that is the full error i get, it says around line 9 I have retyped line 9 about 50 million times lol |
| jamesb43 | Your model shows password= is defined. Does it also have a password method? |
| dmc68 | hmmm not sure what a method is lol but if i take out the equal sign in the user model then i get a new error for that line the new error is wrong number of arguments |
| jamesb43 | add another method named password (w/o) the equal sign so you should have password, and password= methods |
| replikant | is that from the rapid book?:) |
| jamesb43 | rapid book? |
| dmc68 | no, it is from http://www.aidanf.net/rails_user_authentication_tutorial |
| replikant | the (/rapid/) book about rails |
| jamesb43 | I guess I missed that book. |
| dmc68 | so i would have two password objects? and one of them with a method? |
| replikant | lemme try the title... rapid web development with ruby on rails by ... heinemeier hansson is one of the names:) |
| jamesb43 | both will be methods The books is actually called Agile Web ... |
| DannoHung | Aren't rapid and agile the same thing? |
| replikant | yikes maybe i have an old version... agile yea agile.. |
| jamesb43 | I have both editions in front of me. Both say agile |
| DannoHung | I was making a joke about software development methodologies |
| replikant | confusing agile and rapid... darn im a newb |
| jamesb43 | dmc. you want two methods, so def password=(val) # method body. the def password # leave body empty http://pastie.caboo.se/53764 |
| dmc68 | DOOD, it worked lol james u rock |
| jamesb43 | yeah, it calls password on the way in,and password= when you submit. glad to be of help |
| dmc68 | hmmm |
| replikant | argh that logic is painful |
| dmc68 | you accept a private chat james? |
| replikant | on rails terms, not on anyone present |
| dmc68 | well thank you a ton james. I will be back in a bit with more questions |