On 26 Oct 2009, at 15:41, TheTribster wrote:

> After 3 days I am giving up on RoR. I have a MAC and after installing
> Aptana RoR no longer see mySQL and after dozens of adjustments and
> downloads it still doesn't work. The fact that RoR decided that
> SqlLite is the default database is a pretty good indicator this is a
> toy environment. WTF? Why would you eliminate support for the most
> popular database on the internet? Stupid.
>
> Looks like I'll be using the Adobe tools for development as usual -
> sprinkle in a little PHP and Python and there is no need for RoR -
> what genius decided to stop supporting mySql?

Rails has this thing called database abstraction, maybe a good idea  
for you to look that up: http://en.wikipedia.org/wiki/Database_abstraction_layer

And then there's this: http://wiki.rubyonrails.org/database-support/mysql

Keeping an eye on what's happening within a certain framework is  
always a good idea, instead of just going on a completely absurd rant:

http://weblog.rubyonrails.org/2007/12/17/rails-2-0-2-some-new-defaults-and-a-few-fixes

"SQLite3 is the new default database
Most importantly is SQLite3 as the new database we’ll configure for by  
default when you run the rails generation command without any  
specification. This change comes as SQLite3 is simply an easier out of  
the box experience than MySQL. There’s no fussing with GRANTs and  
creates, the database is just there. This is especially so under OS X  
10.5 Leopard, which ships with SQLite3 and the driver gems  
preinstalled as part of the development kit.

If you want to preconfigure your database for MySQL (or any of the  
other adapters), you simply do “rails -d mysql myapp” and everything  
is the same as before. But if you’re just playing with a new  
application or building a smallish internal tool, then I strongly  
recommend having a look at SQLite3. Thanks to the agnostic db/ 
schema.rb, it’s as easy as changing your config/database.yml to switch  
from SQLite3 to MySQL (or another database) as soon as your load  
warrants it."



Best regards

Peter De Berdt


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to