instance method
apply_rails_template
Ruby on Rails 3.1.12
Since v3.1.12 Last seen in v3.2.22.5Available in: v3.1.12 v3.2.22.5
Signature
apply_rails_template()
No documentation comment.
Source
# File railties/lib/rails/generators/app_base.rb, line 108
def apply_rails_template
apply rails_template if rails_template
rescue Thor::Error, LoadError, Errno::ENOENT => e
raise Error, "The template [#{rails_template}] could not be loaded. Error: #{e}"
end
Defined in railties/lib/rails/generators/app_base.rb line 108
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::AppBase