Kotoba using ActiveScaffold

As of this evening I have re-done Kotoba using ActiveScaffold.  I have also updated the application to use Rails version 2.2. All in all, I am extremely happy with the level of sophistication that ActiveScaffold allows me.  At this point the entire application is created via declarations; there is not a single line of code, as it were.

Some minor issues cropped up on migrating to Rails 2.2 and ActiveScaffold, though.  First, the mysql gem is no longer a part of Rails; this requires a separate install.

$ sudo gem install mysql -- 
--with-mysql-config=/usr/local/mysql/bin/mysql_config

You will need to ensure you are using the 32-bit version of MySQL 5.x, though.  Currently the gem does not know how to support x64.  Sadly.

Additionally, ActiveScaffold appears to cause some interesting issues with DB migrations.  At present, the easiest work-around is to update your Rail apps impacted environment(s) (e.g. config/environments/production.rb) with the following:

config.cache_classes = (File.basename($0) 
== "rake" && ARGV.include?("db:migrate")) ?  false : true
 

I did try some various localization ideas, but none of them as of yet have yielded much fruit.  The most promising is Rails upcoming support of i8ln.  For now I will continue to focus more on functionality till localization is more readily accessible.

Author: Ward

I’m the creator and operator of this little corner of the internets, writing on all things related to art and more specifically my experiences trying to figure this whole thing out. I guess I’m trying to figure out life, too, but mostly I just post about art here.

Breath some fire into this post!

This site uses Akismet to reduce spam. Learn how your comment data is processed.