Mack 0.4.6 Released

M

Mark Bates

http://www.mackframework.com/2008/04/18/release-046/

This is a pretty cool release. First off Thin has been updated to 0.8.0,
a rather nice, stable release. ERB has been replaced with Erubis to give
a significant improvement in speed, which, after all is one of Mack’s
most important traits.

There’s been a general overhaul of the generators included with Mack.
Mostly, cleaning them up. With that said things like the scaffold,
model, and migration generators have been updated to do what a lot of
people have been asking for, that is take a ‘cols’ parameter and build
out the generated code corrrectly. This really makes life, very, very
simple.

There will be a re-written ‘blog’ tutorial coming out soon to make use
of this, as well as migration support that’s now part of Mack.

Very exciting stuff! Enjoy!

Changelog:

*Mack now uses Erubis, http://www.kuwata-lab.com/erubis/, for it’s
rendering engine instead of ERB. This makes Mack even faster now!
Yippie!
*Added rake generate:model name=<model_name> (optional:
cols=<col_1>:<col_1_type>,<col_2>:<col_2_type>) This will also create a
migration for you.
*Updated rake generate:migration name=<model_name> (optional:
cols=<col_1>:<col_1_type>,<col_2>:<col_2_type>) This will create the
proper table migration for you.
*Updated rake generate:scaffold to use the ModelGenerator now.
*ScaffoldGenerator now create input fields based on the type of columns,
if any, passed in.
*Overall general refactoring of the generator classes.
*Fixed a bug with request logging not, well, logging.
*gem: erubis 2.5.0
*gem: thin 0.8.0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top