Hi, has anyone used Markaby and Rails 1.2 successfully together? Regards Peter --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On Feb 6, 2007, at 11:25 AM, Peter Ertl wrote:> Hi, > > has anyone used Markaby and Rails 1.2 successfully together? > > Regards > Peter > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Peter Ertl wrote:> Hi, > > has anyone used Markaby and Rails 1.2 successfully together? > > Regards > Peter > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
pete4711-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2007-Feb-06 19:34 UTC
Re: markaby and rails 1.2
have you tried [haml] and what''s your opinion towards it? On 6 Feb., 20:05, Ben Munat <bmu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 > > Peter Ertl wrote: > > Hi, > > > has anyone used Markaby and Rails 1.2 successfully together? > > > Regards > > Peter--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
pete4711-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org wrote:> have you tried [haml] and what''s your opinion towards it?Nope... markaby seemed cleaner, more elegant. b> > On 6 Feb., 20:05, Ben Munat <bmu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> 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 >> >> Peter Ertl wrote: >>> Hi, >>> has anyone used Markaby and Rails 1.2 successfully together? >>> Regards >>> Peter > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
well, thanks a lot for your help and happy railing alltogether :-) 2007/2/6, Ben Munat <bmunat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > > pete4711-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org wrote: > > have you tried [haml] and what''s your opinion towards it? > > Nope... markaby seemed cleaner, more elegant. > > b > > > > > On 6 Feb., 20:05, Ben Munat <bmu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> 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 > >> > >> Peter Ertl wrote: > >>> Hi, > >>> has anyone used Markaby and Rails 1.2 successfully together? > >>> Regards > >>> Peter > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---