Permalink
Browse files

Merge pull request #275 from railsmachine/freeze_prevents_modify_dire…

…ctly

A change in rails 4+ calls freeze forcing us not to be able to modify…
  • Loading branch information...
2 parents 503520e + 5627a22 commit c2991d4e5945be0d960466e3131ce48f24d24959 @railsmachine-ops railsmachine-ops committed May 16, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/moonshine/moonshine_generator.rb
@@ -102,7 +102,7 @@ def klass_name
end
def ruby
- options[:ruby] ||= "src23"
+ @ruby ||= (options[:ruby] || "src23")
end
def user

0 comments on commit c2991d4

Please sign in to comment.