When you create a project, it create the file database.yml. on that file, the name of the project is followed by _deployment. If you remove that _deployement, do we need to remove it somewhere in another file? I create a project, removed the _deployement and created my database using the name of the project but when I execute the project, it say that it cannot find the database with the name ''projectname''_deployement. Any clues will be welcome, thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Patrice Fiset wrote:> When you create a project, it create the file database.yml. on that > file, the name of the project is followed by _deployment. If you remove > that _deployement, do we need to remove it somewhere in another file? > > I create a project, removed the _deployement and created my database > using the name of the project but when I execute the project, it say > that it cannot find the database with the name > ''projectname''_deployement. > > Any clues will be welcome, > > thanks!I assume you mean that you edited the name of your database, not the name of your environment. Also, you must restart the webserver to pick up any changes in the database.yml file. Perhaps you should post your database.yml (minus passwords of course) to see what hte problem is. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thank you much Alex, That was the problem. All good now. Patrice "Ruby on Rails newb but still seeing the potential!" Alex Wayne wrote:> Patrice Fiset wrote: >> When you create a project, it create the file database.yml. on that >> file, the name of the project is followed by _deployment. If you remove >> that _deployement, do we need to remove it somewhere in another file? >> >> I create a project, removed the _deployement and created my database >> using the name of the project but when I execute the project, it say >> that it cannot find the database with the name >> ''projectname''_deployement. >> >> Any clues will be welcome, >> >> thanks! > > I assume you mean that you edited the name of your database, not the > name of your environment. Also, you must restart the webserver to pick > up any changes in the database.yml file. > > Perhaps you should post your database.yml (minus passwords of course) to > see what hte problem is.-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---