Forum: Ruby on Rails markaby and rails 1.2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
538fa89682589ea480d524756fa0841d?d=identicon&s=25 Peter Ertl (Guest)
on 2007-02-06 17:26
(Received via mailing list)
Hi,

has anyone used Markaby and Rails 1.2 successfully together?

Regards
Peter
Ad647269ea91f1d48b3e76624d89f1d0?d=identicon&s=25 Jamie Orchard-Hays (Guest)
on 2007-02-06 18:03
(Received via mailing list)
I tried it when 1.2 was still in development and ran into just enough
issues to keep me off it. I did create Elemental (a plugin) to help
make rhtml a little cleaner though. If you're interested in it:

http://blog.dangosaur.us/elemental/

repo:
http://svn.dangosaur.us/svn/elemental/

Jamie
8310c5a7c769345114597bcdef111488?d=identicon&s=25 Ben Munat (Guest)
on 2007-02-06 20:06
(Received via mailing list)
Using it here... works just fine, although we were getting deprecation
warnings for @session.

Switching to just session (the helper) didn't work right off the bat
either. Figured out that that's because a markaby builder doesn't get
the usual rhtml helpers automatically.

There's a patch on the markaby trac site to fix the problem, but for
some reason it's not in the markaby repository.

So, for now, we're doing the alternate route: we include an empty rhtml
file in our main layout. This causes all the rhtml goodies to be made
available to the layout, and therefore the templates too.

If any markaby devs are lurking, it'd be nice to get that patch into
svn!

b
538fa89682589ea480d524756fa0841d?d=identicon&s=25 pete4711@googlemail.com (Guest)
on 2007-02-06 20:46
(Received via mailing list)
have you tried [haml] and what's your opinion towards it?
8310c5a7c769345114597bcdef111488?d=identicon&s=25 Ben Munat (Guest)
on 2007-02-06 20:59
(Received via mailing list)
pete4711@googlemail.com wrote:
> have you tried [haml] and what's your opinion towards it?

Nope... markaby seemed cleaner, more elegant.

b
538fa89682589ea480d524756fa0841d?d=identicon&s=25 Peter Ertl (Guest)
on 2007-02-06 21:04
(Received via mailing list)
well, thanks a lot for your help and happy railing alltogether :-)

2007/2/6, Ben Munat <bmunat@gmail.com>:
This topic is locked and can not be replied to.