Sha256: de5d0fecb26f5f210d32c3de23871561dc348c217a97f1dd2fd3fa904fecf4f3
Contents?: true
Size: 655 Bytes
Versions: 9
Compression:
Stored size: 655 Bytes
Contents
-------------------------------- NAME -------------------------------- rails_view -------------------------------- DESCRIPTION -------------------------------- render views from anywhere. even without a controller context -------------------------------- SYNOPSIS -------------------------------- ````erb 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
Version data entries
9 entries across 9 versions & 1 rubygems