Skip to content
render views from anywhere. even without a controller context
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
README.md
Rakefile
rails_view.gemspec

README.md


NAME

rails_view


DESCRIPTION

render views from anywhere. even without a controller context


SYNOPSIS

  html_safe_string =
    View.render(:inline => "<%= Time.now %> <%= link_to '/', root_path %>")

  html_safe_string =
    View.render(:template => 'shared/view', :locals => {:a => 40, :b => 2})

INSTALL

gem install rails_view

gem 'rails_view' bundle install

Something went wrong with that request. Please try again.