Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Latest commit

 

History

History
25 lines (18 loc) · 602 Bytes

README.markdown

File metadata and controls

25 lines (18 loc) · 602 Bytes

merb-to-rails3

About

merb-to-rails3 is a gem which adds several methods from Merb's API to your Rails 3 app in order to ease updating existing Merb app to Rails.

Things covered:

Controller:

  • redirect => redirect_to
  • before => before_filter
  • after => after_filter
  • skip_before => skip_filter
  • skip_after => skip_filter

Controller/View:

  • url(name) => name_path
  • resource(...) => ....._path
  • submit => submit_tag
  • css_include_tag => stylesheet_link_tag
  • js_include_tag => javascript_include_tag
  • throw_content(name) => content_for(name)
  • partial => render :partial