Wednesday, November 12
Permalink

Updating a merb application to 1 point oh!

posted 3 years ago

Having a number of merb applications pre 0.9, here are a number of things to consider while updating your app:

  • merb-gen core . (to generate the config files, plz have a backup)
  • update your routes files to have the correct syntax
  • form’s now require the following (note the closings end =)


<%= form_for @thing, :action => resource(:things) do %>



<% end =%>

  • form helpers have changed ie, check_box not check_box_field
  • there is a new url helper for resources
  • the new dependency syntax, dependency “gem”, “version”
  • merb-core and more have been merged into the merb repo
  • That’s about it. Good Luck ;)

    Comments (View)
    blog comments powered by Disqus