As long as you try to stay out of custom SQL queries and try to use ActiveRecords features for filtering/query the database you will be database independent for a longer time. That means changing SQL server type is basically to reconfigure the database.yml file in config. and migrate data. I recommend reading the Model chapters from Rails guides, starting with migrations: http://guides.rubyonrails.org/migrations.html Even though Hobo simplifies this, it does not hurt do have basic knowledge of ActiveRecord.
If you want to apply database constraints on top of ActiveRecord, you will have to make a database choice at some point or find plugins that helps creating database constraints and still be database independent. /MartOn On Mar 1, 5:56 pm, Wildman <[email protected]> wrote: > Thanks for the tip...I ought to have tried a simple rails app first. > It was probably an issue with the path to the application; after some > adjustments based on what I could see from the rails intro page, I was > able to get it to run. Very impressive and simple. > > The other possibility is that rails needed to complete it's config and > creating that first rails app took care of that (where you get to the > rails 'success' page)? > > The most confusing part was the mass of sql lite errors...anyways, > I'll be able to experiment more now. > > Is it fairly simple to migrate to an alternate db from sqlite? -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
