[Rails] Re: 500 error in production environment which I don't get in development env

2010-02-11 Thread Gourav
Yes Jens, you can enable logging in production: in your environments/production.rb file enable log level to :debug, as config.log_level = :debug //uncomment this line -Gourav On Feb 11, 12:21 pm, Jens MF jens.is.loca...@googlemail.com wrote: Hi: I get a strange 500 error in production

[Rails] Re: CRUD pattern for modals

2010-02-11 Thread Gourav
in the iframe. -Gourav On Feb 11, 4:00 am, Rodrigo Dominguez li...@ruby-forum.com wrote: I have an application, where i.e., I can go to the users controllers, and they manage all the basic actions by rest, like creating, modifying, updating and deleting records. Now, I want to reuse that code

[Rails] Invitation to connect on LinkedIn

2009-11-25 Thread Aditya Gourav
LinkedIn Aditya Gourav requested to add you as a connection on LinkedIn: -- Mitin, I'd like to add you to my professional network on LinkedIn. - Aditya Accept invitation from Aditya Gourav http://www.linkedin.com/e

[Rails] Re: Rack error

2009-09-18 Thread Gourav Tiwari
I would say http://rack.rubyforge.org/doc/SPEC.html and http://rack.rubyforge.org/doc/ will be helpful. -Gourav On Sep 18, 11:39 am, Preethi Sivakumar rails-mailing-l...@andreas- s.net wrote: Hi I've just started exploring about rack and created by config.ru file under config folder in my

[Rails] Re: counting blog comments

2009-09-18 Thread Gourav
I think, you must have Post-'has many-Comments relationship So, to find number of comments: post.comments.count will give you total number of comments of a post. -Gourav On Sep 18, 10:58 am, Mark polluxop...@gmail.com wrote: I have posts  and comments, and I'd like to display the number

[Rails] Re: ruby mysql error

2009-06-03 Thread Gourav Tiwari
, reverify your conf file, and try again. What MySQL version have you? On Mon, Jun 1, 2009 at 8:05 AM, Gourav Tiwari gouravtiwar...@gmail.comwrote: Thanks for your reply Vipin, I am able to connect to Mysql through command prompt and mysql query browser. Also, I am able to connect

[Rails] ruby mysql error

2009-06-01 Thread Gourav Tiwari
-talk/198795 http://stackoverflow.com/questions/436980/has-anyone-successfully-connected-to-mysql-from-ruby but it did not help. Do I need to make any configuration for this? Thanks in advance -gourav --~--~-~--~~~---~--~~ You received this message because you

[Rails] Re: ruby mysql error

2009-06-01 Thread Gourav Tiwari
2.7.1 but it still doesn't work. -gourav On Jun 1, 5:28 pm, Vipin sh.vi...@gmail.com wrote: On Jun 1, 4:44 pm, Gourav Tiwari gouravtiwar...@gmail.com wrote: Hi, I am getting a mysql error while running a ruby file on my system (Windows): D:/ruby/lib/ruby/1.8/mysql.rb:453:in `read

[Rails] error in loading rails

2009-01-20 Thread Gourav Tiwari
Hi, I have checked out the clean code from production which is up and running. I am facing issue to get the rails application up and running on my development box. This is what I am trying: D:\projectrake db:create (in D:/project) rake aborted! can't activate rails (= 2.2.2), already activated

[Rails] Re: error in loading rails

2009-01-20 Thread Gourav Tiwari
Anyone has any idea? On Jan 20, 8:00 pm, Gourav Tiwari gouravtiwar...@gmail.com wrote: Hi, I have checked out the clean code from production which is up and running. I am facing issue to get the rails application up and running on my development box. This is what I am trying: D

[Rails] rake db:migrate behaving different for different environments

2008-12-26 Thread Gourav Tiwari
I am wondering in my application for past few days, why the rake db:migrate is behaving differently for different environments. Any clue is appreciated Application name : project Database name : project_my_own Environment name : my_own If I use simply: rake db:migrate It works, but say I have

[Rails] Re: rake db:migrate behaving different for different environments

2008-12-26 Thread Gourav Tiwari
frederick.che...@gmail.com wrote: On 26 Dec 2008, at 18:29, Gourav Tiwari wrote: I am wondering in my application for past few days, why the rake db:migrate is behaving differently for different environments. Any clue is appreciated Application name : project Database name

[Rails] Re: rake db:migrate behaving different for different environments

2008-12-26 Thread Gourav Tiwari
Hey Ryan, I am not using Content and Comment model in any of these files (config/ environment.rb, config/environments/my_own.rb) -Gourav On Dec 26, 2:52 pm, Ryan angi...@gmail.com wrote: Hey Gourav, Are you using the Content model or the Comment model in either config/ environment.rb

[Rails] Re: rake db:migrate behaving different for different environments

2008-12-26 Thread Gourav Tiwari
Many thanks Fred :) I think this solution works fine for now. On Dec 26, 4:57 pm, Frederick Cheung frederick.che...@gmail.com wrote: On 26 Dec 2008, at 21:07, Gourav Tiwari wrote: Hi Fred Awesome! you are right, class_caching was turned on. I turned it off and it worked! But, I

[Rails] Re: Contact page

2008-10-05 Thread Gourav Tiwari
Yes you can do it by using ActionMailer class On Oct 5, 8:10 pm, Pepe Sanchez [EMAIL PROTECTED] wrote: Is there a way to create a contact form that sends an email without having a table related to it. In my case I do not need a table contacts, I only need to send an email. thanks