Rails 3.0.7 and MySQL

15 views
Skip to first unread message

Tsega

unread,
Jun 16, 2011, 3:15:34 PM6/16/11
to rubyonra...@googlegroups.com
I used to use Sqlite3 as my database now I changed to MySQL installed mysql2 v=0.2.10 and now my application doesn't run. I get the exact same error as the one pasted here.

http://pastebin.com/nzV1Rvv9

What can I do?

Tsega

unread,
Jun 16, 2011, 3:49:48 PM6/16/11
to rubyonra...@googlegroups.com
Found the problem:

in my config/database.yml file I had the following entry for both production and development configuration.

pool: 5

I removed that and it seems to work just fine. Well I guess it helps someone.
Kudos to myself. :-)

Annapoorna R

unread,
Jun 17, 2011, 3:08:06 AM6/17/11
to rubyonra...@googlegroups.com
hi...
how to create a form in rails without using a  scaffold command?



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ETkzuItlFyYJ.

To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Colin Law

unread,
Jun 17, 2011, 3:46:37 AM6/17/11
to rubyonra...@googlegroups.com
On 17 June 2011 08:08, Annapoorna R <prapo...@gmail.com> wrote:
> hi...
> how to create a form in rails without using a  scaffold command?

Has this question got anything to do with the subject line (Rails
3.0.7 and MySQL)? Please ask this again as a new posting with a
meaningful subject. That way someone with an interest in the question
is more likely to read it. The answer to your question, however, is
to use form_for in the view file. Study the files generated by a
scaffold command and just replicate this yourself. If you want
further information please start a new thread.

Colin

Reply all
Reply to author
Forward
0 new messages