# Mack 0.4.6 Released

**URL:** <https://www.ruby-forum.com/t/mack-0-4-6-released/135201>\
**Category:** Ruby\
**Created:** [April 19, 2008, 4:22am UTC](https://www.ruby-forum.com/t/mack-0-4-6-released/135201 "2008-04-19T04:22:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![markbates](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@markbates](https://www.ruby-forum.com/u/markbates)\
**Post date:** [April 19, 2008, 4:22am UTC](https://www.ruby-forum.com/t/mack-0-4-6-released/135201/1 "2008-04-19T04:22:42Z")

</div>

[http://www.mackframework.com/2008/04/18/release-046/](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/](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
