# Anyone using markaby?

**URL:** <https://www.ruby-forum.com/t/anyone-using-markaby/71766>\
**Category:** Rails\
**Created:** [October 11, 2006, 12:12pm UTC](https://www.ruby-forum.com/t/anyone-using-markaby/71766 "2006-10-11T12:12:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 11, 2006, 12:12pm UTC](https://www.ruby-forum.com/t/anyone-using-markaby/71766/1 "2006-10-11T12:12:36Z")

</div>

Does anyone know if Markaby is still being used? If not, has it been  
replaced by something else? If it is still in use, where should  
questions/ help requests/ etc be posted.

–  
Best Regards,  
-Larry  
“Work, work, work…there is no satisfactory alternative.”  
— E.Taft Benson

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 11, 2006, 4:47pm UTC](https://www.ruby-forum.com/t/anyone-using-markaby/71766/2 "2006-10-11T16:47:56Z")

</div>

it’s being used–especially by the Camping folks. If you google  
“markaby” you should find a lot out there. Also, visit \_why’s  
redhanded web site.

Jamie

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 11, 2006, 8:10pm UTC](https://www.ruby-forum.com/t/anyone-using-markaby/71766/3 "2006-10-11T20:10:48Z")

</div>

Yeah, I use Markaby. I like it, except it doesn’t support Rails’ caching  
yet. HAML’s a new competitor, but I haven’t found it compelling enough  
to switch. There’s a new Markaby wiki here:

[http://code.whytheluckystiff.net/markaby/wiki/WikiStart](http://code.whytheluckystiff.net/markaby/wiki/WikiStart)

Joe

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 12, 2006, 1:08am UTC](https://www.ruby-forum.com/t/anyone-using-markaby/71766/4 "2006-10-12T01:08:50Z")

</div>

Yeah, I guess we’ll have to wait for Rails 1.2 to use Markaby as a  
plugin. Seems like there should be a workaround…

Here’s what I have in my environment.rb:

require ‘markaby’  
require ‘markaby/rails’

ActionView::Base::register\_template\_handler ‘mab’,  
Markaby::ActionViewTemplateHandler  
ActionController::Base.send :include, Markaby::ActionControllerHelpers

Markaby::Builder.set(:indent, 2) if RAILS\_ENV=‘development’

It seems to work okay so far…

Joe

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 12, 2006, 12:58am UTC](https://www.ruby-forum.com/t/anyone-using-markaby/71766/5 "2006-10-12T00:58:34Z")

</div>

Joe,  
I haven’t been able to get version 0.5 to install as a plugin. I  
looked at the ticket you open (#32). It looks like edge rails was  
patched. But, I’m hesitant to use edge for development when, I cannot  
use it for production.

What version are you using? Can you offer any installation suggestions?

On 10/11/06, Joe R. MUDCRAP-CE [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

–  
Best Regards,  
-Larry  
“Work, work, work…there is no satisfactory alternative.”  
— E.Taft Benson

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 12, 2006, 5:40am UTC](https://www.ruby-forum.com/t/anyone-using-markaby/71766/6 "2006-10-12T05:40:42Z")

</div>

Thanks for the reply, Joe. I hope 1.2 is releases sooooon 🙂

I finally figured out that the file I was downloading from RubyForge  
wasn’t configured to work as a plugin. It was missing the init.rb  
file. So, I checked out the latest copy from:

svn [http://code.whytheluckystiff.net/svn/markaby/trunk](http://code.whytheluckystiff.net/svn/markaby/trunk).

Then copied the files to my \<rails\_app\>/vendor/plugin/markaby folder.  
After restarting the browser, \*.mab files were processed correctly. I  
didn’t need to alter the environment.rb file.

-Larry

On 10/11/06, Joe R. MUDCRAP-CE [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Markaby::ActionViewTemplateHandler
> 
> >

–  
Best Regards,  
-Larry  
“Work, work, work…there is no satisfactory alternative.”  
— E.Taft Benson
