Scratch that. merb-helpers probably isn't portable to Rails 3. Why? My
first big disappointment with Rails 3 is they kept the horrendously
bad view helper idiom of:

<% form do %>
  ...
<% end %>

My favorite feature of merb was that helpers just returned a string
(and not crazy hacks using concat and buffers). Similar to:


<%= form do %>
  ...
<% end =%>

Writing reusable view helpers with rails is a nightmare, and I don't
see that changing in Rails 3.

I could have sworn I saw Yehuda's blog post that he found a way to
make <%= some_helper do %> <% end %> work in Rails3. Not sure why it
got removed. Here's the post
http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/

I dunno, maybe its still possible and I'm just missing something. I'll
keep investigating.


On Feb 4, 8:34 pm, Jacques Crocker <[email protected]> wrote:
> Updating one of my apps at the moment.
>
> I'm currently porting merb-helpers to run ontop of Rails3. I'll still have to 
> update all my controllers and routes, but at least maybe I can reuse my views.
>
> Will keep you posted.
>
> On Feb 4, 2010, at 8:29 PM, Greg Campbell wrote:
>
>
>
> > Now that the Rails 3 beta is out, I'm curious to hear if people are
> > starting to test out migrating from Merb apps.  Any strategies or
> > "gotchas" worth discussing?
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "merb" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/merb?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/merb?hl=en.

Reply via email to