create_migration method def changed to create_letsrate_migration to avoid collision with rails create_migration method name#69
Open
dasibre wants to merge 1 commit intomuratguzel:masterfrom
Open
Conversation
…void collision with rails create_migration method
Contributor
|
Could you please fix the error with this PR? |
|
Same problem. Maybe someone could post the right migration file so we could move over? |
Contributor
|
@Macks111 I forked the repo and fixed this issur, and I will keep maintaining (till the original author is back and be active again) and will develop on my fork. Also I will push some modifications soon to add some IMDB style rating features, kindly find it now on https://github.com/wazery/letsrate |
|
+1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
create_migration method def changed to create_letsrate_migration to avoid collision with rails create_migration method name
/Users/jnaadjie/.rvm/gems/ruby-2.1.1@bleedingedge/gems/letsrate-1.0.9/lib/generators/letsrate/letsrate_generator.rb:37:in
create_migration': wrong number of arguments (3 for 0) (ArgumentError) from /Users/jnaadjie/.rvm/gems/ruby-2.1.1@global/gems/railties-4.1.0/lib/rails/generators/migration.rb:63:inmigration_template'from /Users/jnaadjie/.rvm/gems/ruby-2.1.1@bleedingedge/gems/letsrate-1.0.9/lib/generators/letsrate/letsrate_generator.rb:33:in
create_cacheable_migration' from /Users/jnaadjie/.rvm/gems/ruby-2.1.1@global/gems/thor-0.19.1/lib/thor/command.rb:27:inrun'from /Users/jnaadjie/.rvm/gems/ruby-2.1.1@global/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command' from /Users/jnaadjie/.rvm/gems/ruby-2.1.1@global/gems/thor-0.19.1/lib/thor/invocation.rb:133:inblock in invoke_all'from /Users/jnaadjie/.rvm/gems/ruby-2.1.1@global/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
each' from /Users/jnaadjie/.rvm/gems/ruby-2.1.1@global/gems/thor-0.19.1/lib/thor/invocation.rb:133:inmap'from /Users/jnaadjie/.rvm/gems/ruby-2.1.1@global/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
invoke_all' from /Users/jnaadjie/.rvm/gems/ruby-2.1.1@global/gems/thor-0.19.1/lib/thor/group.rb:232:indispatch'from /Users/jnaadjie/.rvm/gems/ruby-2.1.1@global/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'