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? -- 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/-/hYqucimHEQwJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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. :-) -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
hi... how to create a form in rails without using a scaffold command? On Fri, Jun 17, 2011 at 1:19 AM, Tsega <tsegaselassi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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. :-) > > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 17 June 2011 08:08, Annapoorna R <prapoorna.r-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.