[Rails] Re: How to change the url (from localhostL:3000) to (example.com)

2011-04-21 Thread amrit pal pathak
On Apr 20, 12:55 pm, Walter Lee Davis wa...@wdstudio.com wrote: On Apr 20, 2011, at 12:31 PM, amrit pal pathak wrote: Here you go. Amazing what you find on the Internet these days. http://tinyurl.com/3bp7nsh       It tells to run the app on different ports,but i want to run it without

[Rails] Re: How to change the url (from localhostL:3000) to (example.com)

2011-04-20 Thread amrit pal pathak
On Apr 20, 8:51 am, Bryan Crossland bacrossl...@gmail.com wrote: On Tue, Apr 19, 2011 at 10:57 AM, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 19, 4:09 am, Alexander cutal...@gmail.com wrote: Open your /etc/hosts file in Linux. Windows is the same hosts file under

[Rails] Re: rake db:create fails

2011-04-20 Thread amrit pal pathak
Have you mention the database name in dabase.yml file? Regards Amrit pal -- 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@googlegroups.com. To unsubscribe from this group, send email

[Rails] Re: How to enable production enviornment in RoR 2.3.5

2011-04-20 Thread amrit pal pathak
On Apr 20, 1:01 pm, Bryan Crossland bacrossl...@gmail.com wrote: On Wed, Apr 20, 2011 at 11:21 AM, amritpal pathak amritpalpath...@gmail.com wrote: I want to enable production enviornment for my appication.The  content of database.yml file is as  # SQLite version 3.x #  

[Rails] Re: How to change the url (from localhostL:3000) to (example.com)

2011-04-19 Thread amrit pal pathak
On Apr 19, 4:09 am, Alexander cutal...@gmail.com wrote: Open your /etc/hosts file in Linux. Windows is the same hosts file under some other directory. Any how puts the next line in the file 127.0.0.1 example.com Then if you ping example.com IP 127.0.0.1 will respond. now you can use

[Rails] Re: what is mean of Deployment?

2011-04-19 Thread amrit pal pathak
On Apr 18, 1:14 pm, Colin Law clan...@googlemail.com wrote: On 18 April 2011 17:46, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 18, 12:30 pm, Colin Law clan...@googlemail.com wrote: On 18 April 2011 17:12, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr

[Rails] Re: what is mean of Deployment?

2011-04-19 Thread amrit pal pathak
I think the production enviorment is still not enabled.because i when i tried script/generate scaffold person firstname:string lastname:string; rake db:migrate(it created a table namedpeople in amritpal database that is used in development envionrment.But in production

[Rails] Re: what is mean of Deployment?

2011-04-18 Thread amrit pal pathak
On Apr 18, 11:48 am, Mohamed Aslam aslamnaj...@gmail.com wrote: All most all developers develop application in their local computer. This is called as development environment. Once your development completed, you need to move the application to a production server where other people can use

[Rails] Re: what is mean of Deployment?

2011-04-18 Thread amrit pal pathak
On Apr 17, 9:02 pm, Peter De Berdt peter.de.be...@pandora.be wrote: On 17 Apr 2011, at 17:04, amrit pal pathak wrote: On Apr 17, 7:27 am, Chris Kottom ch...@chriskottom.com wrote: Are you planning to continue using sqlite in the production   environment?  Most people don't, but it's

[Rails] Re: what is mean of Deployment?

2011-04-18 Thread amrit pal pathak
On Apr 18, 3:56 am, Colin Law clan...@googlemail.com wrote: On 18 April 2011 08:23, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 17, 9:02 pm, Peter De Berdt peter.de.be...@pandora.be wrote: On 17 Apr 2011, at 17:04, amrit pal pathak wrote: On Apr 17, 7:27 am

[Rails] How to change the url (from localhostL:3000) to (example.com)

2011-04-18 Thread amrit pal pathak
I am new to ruby on rails and running rails 2.3.5.My application is running at localhost:3000 ,but i want it should be run at example.com in brower when i start the serve normally as script/ server . What to do? Thanks -- You received this message because you are subscribed to the Google

[Rails] How to change the url (from localhostL:3000) to (example.com)

2011-04-18 Thread amrit pal pathak
I am new to ruby on rails and running rails 2.3.5.My application is running at localhost:3000 ,but i want it should be run at example.com in brower when i start the serve normally as script/ server . What to do? Thanks -- You received this message because you are subscribed to the Google

[Rails] How to generate a form in rails 2.3.5

2011-04-18 Thread amrit pal pathak
I am new to ROR and running 2.3.5.I want a simple form with some text boxes,password field,check box etc. How to generate a form in ROR? Thanks -- 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

[Rails] How to generate a form in rails 2.3.5

2011-04-18 Thread amrit pal pathak
I am new to ROR and running 2.3.5.I want a simple form with some text boxes,password field,check box etc. How to generate a form in ROR? Thanks -- 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

[Rails] How to change the url (from localhostL:3000) to (example.com)

2011-04-18 Thread amrit pal pathak
I am new to ruby on rails and running rails 2.3.5.My application is running at localhost:3000 ,but i want it should be run at example.com in brower when i start the serve normally as script/ server . What to do? Thanks -- You received this message because you are subscribed to the Google

[Rails] whyt should i use mongrel_cluster ?

2011-04-18 Thread amrit pal pathak
why should i use mongrel_cluster in my rails application? What are its benefits for which i should install and configure it ? is webrick server not enough for rails application? Thanks -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

[Rails] whyt should i use mongrel_cluster ?

2011-04-18 Thread amrit pal pathak
why should i use mongrel_cluster in my rails application? What are its benefits for which i should install and configure it ? is webrick server not enough for rails application? Thanks -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

[Rails] Re: How to generate a form in rails 2.3.5

2011-04-18 Thread amrit pal pathak
On Apr 18, 6:05 am, Chris Kottom ch...@chriskottom.com wrote: Have you readhttp://guides.rubyonrails.org/v2.3.8/form_helpers.html? i read a bit .like it tell about to write a simple code like form action=/home/index method=post div style=margin:0;padding:0 input

[Rails] Re: what is mean of Deployment?

2011-04-18 Thread amrit pal pathak
On Apr 18, 11:41 am, dana tassler dana.tass...@gmail.com wrote: As always, Colin has at least one good point.  And I would add to that. Initially, you asked what is meant by deployment.  Several people did provide the answer to that question, at which point this topic could safely have

[Rails] Re: what is mean of Deployment?

2011-04-18 Thread amrit pal pathak
On Apr 18, 9:07 am, Colin Law clan...@googlemail.com wrote: On 18 April 2011 10:00, amrit pal pathak amritpalpath...@gmail.com wrote: ...     it will be created as rake db:create (after specifying in the production enviornment i,e database: production)??  and to start the server

[Rails] Re: what is mean of Deployment?

2011-04-18 Thread amrit pal pathak
On Apr 18, 12:30 pm, Colin Law clan...@googlemail.com wrote: On 18 April 2011 17:12, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 18, 9:07 am, Colin Law clan...@googlemail.com wrote: On 18 April 2011 10:00, amrit pal pathak amritpalpath...@gmail.com wrote

[Rails] Re: what is mean of Deployment?

2011-04-17 Thread amrit pal pathak
On Apr 16, 11:40 am, Colin Law clan...@googlemail.com wrote: On 16 April 2011 16:32, amritpal pathak amritpalpath...@gmail.com wrote: what is meaning of deploy a ruby on rails application?i am new to RoR. please somebody explain it Deployment is the process of putting the application on

[Rails] No route matches /home/index with {:method=:get}

2011-04-17 Thread amrit pal pathak
I followed a tutorial to learn ruby on rails at http://guides.rubyonrails.org/v2.3.8/getting_started.html After creating a view and controller as script/generate controller home index and then i changed the contents of app/view/home/ index.html.erb file according to tutorial into one line as

[Rails] No route matches /home/index with {:method=:get}

2011-04-17 Thread amrit pal pathak
I followed a tutorial to learn ruby on rails at http://guides.rubyonrails.org/v2.3.8/getting_started.html After creating a view and controller as script/generate controller home index and then i changed the contents of app/view/home/ index.html.erb file according to tutorial into one line as

[Rails] Re: what is mean of Deployment?

2011-04-17 Thread amrit pal pathak
On Apr 17, 2:08 am, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 16, 11:40 am, Colin Law clan...@googlemail.com wrote: On 16 April 2011 16:32, amritpal pathak amritpalpath...@gmail.com wrote: what is meaning of deploy a ruby on rails application?i am new to RoR. please

[Rails] Re: No route matches /home/index with {:method=:get}

2011-04-17 Thread amrit pal pathak
On Apr 17, 2:59 am, Jatin kumar jatinkumar.n...@gmail.com wrote: On Sun, Apr 17, 2011 at 6:46 AM, amrit pal pathak amritpalpath...@gmail.com wrote: I followed a tutorial to learn ruby on rails at http://guides.rubyonrails.org/v2.3.8/getting_started.html After creating a view

[Rails] Re: No route matches /home/index with {:method=:get}

2011-04-17 Thread amrit pal pathak
On Apr 17, 4:01 am, Chris Kottom ch...@chriskottom.com wrote: Also verify that you are _actually_ using Rails 2.3.8.  Very basic check, I know, but routing syntax is different in Rails 3, and I don't believe older syntax is supported. I am running rails 2.3.5 and this format worked for

[Rails] Re: what is mean of Deployment?

2011-04-17 Thread amrit pal pathak
On Apr 17, 4:06 am, Chris Kottom ch...@chriskottom.com wrote: In a strict operational sense, the term means installation and configuration/activation of software on any environment under management, so it could be meant as production, staging, integration testing, etc.  In the Rails world

[Rails] Re: what is mean of Deployment?

2011-04-17 Thread amrit pal pathak
On Apr 17, 7:27 am, Chris Kottom ch...@chriskottom.com wrote: Are you planning to continue using sqlite in the production environment?  Most people don't, but it's not a problem to do so. If not or if the default sqlite settings aren't right for you, then you'll need to make some changes,

[Rails] Re: script/server (Error)

2011-04-14 Thread amrit pal pathak
On Apr 12, 1:06 pm, Chris Kottom ch...@chriskottom.com wrote: Try: rake db:create Tried it ,but it didnt help.Same error still exist -- 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

[Rails] Re: script/server (Error)

2011-04-14 Thread amrit pal pathak
On Apr 14, 2:46 am, Chris Kottom ch...@chriskottom.com wrote: Check your database.yml file.  In many cases, the problem can be due to indentation, trailing whitespace, etc. The content of database.yml file are as # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X

[Rails] Re: rake db:create (Gives the error)

2011-04-12 Thread amrit pal pathak
On Apr 12, 8:00 am, Frederick Cheung frederick.che...@gmail.com wrote: On Apr 12, 12:46 pm, amritpal pathak amritpalpath...@gmail.com wrote: i tried to generate a database .The config/database.yml file hold following for the development environment  adapter: mysql   database: blogg  

[Rails] Fedena installation: Error

2011-04-08 Thread amrit pal pathak
am getting error: rake db:migrate (in /home/hsrai/public_html/ERP/ERP_Campus/projectfedena_v2.0) rake aborted! can't activate , already activated prawn-0.11.1 Where is problem? Fedena is Ruby on Rails (RoR) application. My installation log is below signature. mkdir ERP cd ERP wget

<    1   2