[Rails] Re: Rails and Databases

2009-08-25 Thread GuruOne
Dear Rob, Thxs. Regards On Aug 24, 9:08 am, Rob Biedenharn wrote: > On Aug 23, 2009, at 9:29 PM, GuruOne wrote: > > > > > Hi Everyone, > > > I have a couple of questions > > 1. A typicalrailsenvironment has 3 databases - development, test, > > production

[Rails] Re: Rails and Databases

2009-08-25 Thread GuruOne
ablish_connection :development > end > So, based on this code you can have more than 3 database  in 1 rails app. > > That's my none scientific explanation. > thanks. > > > > On Mon, Aug 24, 2009 at 8:29 AM, GuruOne wrote: > > > Hi Everyone, > > > I

[Rails] Re: Rails and Databases

2009-08-25 Thread GuruOne
> > > class Address < ActiveRecord::Base > > >   establish_connection :development > > end > > So, based on this code you can have more than 3database in 1railsapp. > > > That's my none scientific explanation. > > thanks. > > > On

[Rails] Rails and Databases

2009-08-23 Thread GuruOne
Hi Everyone, I have a couple of questions 1. A typical rails environment has 3 databases - development, test, production. - Can I have more? - Is there a limit? 2. In most rails applications you usually have one database type i.e. MySQL or sqlite3 or PostgreSQL or ... - Can I use MySQL and sqlit

[Rails] Re: Unexpected 'nil' in rails upload application

2009-07-31 Thread GuruOne
x27;uploadFile'},:html => { :multipart => true } do |f| %> Select File : <%= f.file_field 'datafile' %> <%= f.submit "Upload" %> <% end %> ### run application http://upload.datajazz.com/upload/index On Jul 20, 7:40 am, GuruOne wrote: > Hi All, >

[Rails] Unexpected 'nil' in rails upload application

2009-07-20 Thread GuruOne
Hi All, Please help. I am sure there is something obvious I am overlooking in the code but I cannot see it. Please note, as detailed below, I am on Bluehost using Rails 2.2.2. The code is example code from TutorialsPoint - URL: http://www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm

[Rails] Re: Help: Webmonkey's Rails example NOT working on Bluehost

2009-06-30 Thread GuruOne
A simple suggestion for other other people 1. Follow the documentation provided by your service provider (if any) on their example application to get started. 2. Then apply to your own application. Regards On Jun 29, 7:42 am, GuruOne wrote: > Dear Eric, > > Thxs for the suggestion - I

[Rails] Re: Help: Webmonkey's Rails example NOT working on Bluehost

2009-06-29 Thread GuruOne
> -eric > > On Jun 27, 7:59 am, GuruOne wrote: > > > > > Dear Tom, > > > Thxs for the links to thebluehostarticles. > > > I followed and executed step by step article '000207' without any > > hitches. > > > I also followed and ex

[Rails] Re: Help: Webmonkey's Rails example NOT working on Bluehost

2009-06-27 Thread GuruOne
k.bluehost.com/index.php/kb/article/000493 > > -Tom > > On Jun 26, 11:38 am, GuruOne wrote: > > > > > I need some help in getting my first Rails application going. > > Operating environment background > > - Hosting Provider: Bluehost > > - ruby, rails, apa

[Rails] Help: Webmonkey's Rails example NOT working on Bluehost

2009-06-26 Thread GuruOne
I need some help in getting my first Rails application going. Operating environment background - Hosting Provider: Bluehost - ruby, rails, apache: all ok and ready to go. I have written many ruby programs in this environment which all work. - Browsers used for testing: Chrome, IE - MySQL: I have m