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

Small library that will help you to port a merb-based app to rails3

Notifications You must be signed in to change notification settings

assaydepot/merb-to-rails3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Small library that will help you to port a merb-based app to rails3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%