|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
On Mon, 17 Sep 2007, coolgeng coolgeng wrote:
> I check the development.log, and it says : "Mysql::Error: #42S02Table > 'depot_development.sessions' doesn't exist: SHOW FIELDS FROM sessions" Have a look at config/environment.rb: ... ... # Use the database for sessions instead of the file system # (create the session table with 'rake db:sessions:create') config.action_controller.session_store = :active_record_store ... ... If you activate config.action_controller.session_store above, you should do 'rake db:sessions:create' first. If you don't want to use MySQL table to store session, uncomment above. -- http://bpdp.wordpress.com Key fingerprint FBBA CDA6 1A33 D41C 2470 5B82 12D9 DB12 84C7 32CE Key server ldap://pgp.surfnet.nl:11370 & hkp://subkeys.pgp.net ID 0x84C732CE -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Sep 16, 2007, at 10:17 PM, coolgeng coolgeng wrote: > Thanks a lot. When I disabled this line, the program do work. > But if I would like to reserve this function and not discard this > line, what > should I do? > > From this point on it is HIGHLY recommended to buy a book. Especially the Agile Web Development With Rails book. It's all in there. (not necessarily in the order you might expect, but it's in there) If you're really new to web development, you should go for the Rails book from SitePoint publishing. It's a perfect newbie book, but you'll still want to have AWDWR. Also, do not neglect the Ruby on Rails web site. There is lots of info there too. The Rails Talk group is also ful, but you'll do better to go there after you've learnt the basics of Rails. Don't worry, Rails basics are not that tough. A lot of frameworks in other languages are a LOT more convoluted (sometimes just by the language they're written in) Oh one more. keep a browser window open to the Rails API !!! It's quite good and extremely useful in learning and more. but you really should try to keep questions for this list to Ruby specific things. some Rails stuff is Ruby specific, but so far this isn't. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
John Joyce wrote:
> > On Sep 16, 2007, at 10:17 PM, coolgeng coolgeng wrote: > >> Thanks a lot. When I disabled this line, the program do work. >> But if I would like to reserve this function and not discard this >> line, what >> should I do? >> >> > From this point on it is HIGHLY recommended to buy a book. Especially > the Agile Web Development With Rails book. > It's all in there. (not necessarily in the order you might expect, but > it's in there) > If you're really new to web development, you should go for the Rails > book from SitePoint publishing. > It's a perfect newbie book, but you'll still want to have AWDWR. > Also, do not neglect the Ruby on Rails web site. There is lots of info > there too. > The Rails Talk group is also ful, but you'll do better to go there > after you've learnt the basics of Rails. > Don't worry, Rails basics are not that tough. A lot of frameworks in > other languages are a LOT more convoluted (sometimes just by the > language they're written in) > Oh one more. keep a browser window open to the Rails API !!! It's > quite good and extremely useful in learning and more. > > but you really should try to keep questions for this list to Ruby > specific things. > some Rails stuff is Ruby specific, but so far this isn't. Also look at RailsSpace I have both and RailsSpace does a good job of providing information you would have to dig for in the Agile book. -r |
|
![]() |
| Outils de la discussion | |
|
|