Anyone using markaby?

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

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

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

Joe

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

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 [email protected]
wrote:

Posted via http://www.ruby-forum.com/.


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

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

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.

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 [email protected]
wrote:

Markaby::ActionViewTemplateHandler


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