MacRuby - ActiveRecord for storage?

Is it possible to use ActiveRecord for storage and query in a MacRuby Cocoa application?

If it is, are there any resources that shows how?

Are there any reason why ActiveRecord should not be used?

Answers


Yes, it is. It's a Ruby library, you can use it without any problem.

However, ActiveRecord is a quite huge library. You might not need all its features. If you simply need to connect to a database and perform operations, I strongly encourage you to give Sequel gem a try.


Need Your Help

What consideration would one take when designing a scalable web architecture

web-architecture

I know that one has to look at the queries for database, because when the database is small queries are not a problem. But when it becomes larger it could slow down the site.

How to turn a comma-delimited list of date attributes into a MySQL date value?

python mysql shell

Not sure if I've worded my title correctly but here goes. I have a file of jobs which are all in a similar format to this:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.