As I wrote in my previous post, I am currently reading/coding the depot example from the Agile Web Development with Rails book. I had one unclear issue so far – maybe someone can help me to find it out: I did something wrong or this is really a typo in the book?
Putting sessions in the database
According to the book, this should be done with
However, after entering this command to the console I got:
(in /home/peter/development/src/railsprojects/depot) rake aborted! Don't know how to build task 'db:session:create'
After some playing with rake –help, I have found the –tasks switch:
and here I have finally found the remedy for my problem: the correct command is
(note the additional ‘s’ character)
Is this because my rake version is too old/too new or this is a typo in the book?
After this modification everything worked again as intended.
Look at pag 96 nr. #3051
there are many other typos…
Ah, thx for the pointer. I just bought the book, i did not know there is such a good errata already…
thanks for the post. I ran into this as well but thanks to you it works again.
Kudos to you for figuring that out so I didn’t have to 🙂
Heh, it’s funny that according to my page statistics this is my most popular post – and in fact, as Stefano already pointed out in the first comment, the AWDwR errata had this solution before my post…
ha. I actually misread the book, typed in sessions.. swore a few times.. rolled it back. and then to find out i did it correctly the first time
thanks for the tip! had that problem too
Pingback: rolex watches
wieght loss wieght loss
Pingback: generic cialis
Pingback: Generic Viagra
Pingback: free gay porn
Good site !!!
Noting that this thread was started a long time ago, I guess noone is checking anymore? Lots of spam.
If anyone IS checking it, theres lots of good spam plugins for wordpress. SpamBayes is great, and its open source, great for emails but tricky to setup. Askismet is good, as is Spam Karma.
Very Informative Posts.
I really like what you have going on here. I’ll be back soon
Pretty Cool Place.
I like your style too.
I love what you’e doing!
Don’t ever change and best of luck.
I think Dallas is gonna win it all in the NBA
Nobody’s gonna stop them this year. Look out for BigDirk!
Looks Like Dallas is in trouble!
Phoenix might end up blowing them all away.
PHX vs. Det. Hmmm..Could be interesting?
I’m not quite understanding what all
this is supposed to be about?
Must be me or something…
Hi. Cool design. Keep up the good.
This is exactly what I expected to find out after reading the title db:session:create problem (?) in the depot app. Thanks for informative article
I have been visiting this site a lot lately, so i thought it is a good idea to show my appreciation with a comment.
Recently I discovered this website and have been following along steadily. I felt I should leave my opening comment. I dont know exactly what to write except that Ive loved perusing. Cool website. I will carry on visiting this website frequently. I have also taken your rss feed to get updates.
I am having a elluva time sesing uyr sute ni Frifdos 8.2, I just thought I might let you know?
“swore a few times.”
You can read more about it?
Window Glass Replacement
People these tips and instructions on how to withdraw and replace disorganized window spyglass can aid economise you experience, money and endeavour. Internal this document you module conceive information active: * Preparing for the New Window Mirror * Installment New Glasswork * Adding the Closing Touches * Commutation Glassful on Doors
This a informative great writeup by the author hope to read more really soon.
You you could make changes to the post name title Ruby, Rails, Web2.0 » Blog Archive » db:session:create problem (?) in the depot app to something more better for your webpage you write. I loved the the writing nevertheless.