Skip to content

Add new param to allow show the migration at the terminal#8

Merged
mauro-oto merged 3 commits intomasterfrom
features/output-to-terminal
Apr 4, 2018
Merged

Add new param to allow show the migration at the terminal#8
mauro-oto merged 3 commits intomasterfrom
features/output-to-terminal

Conversation

@cleicar
Copy link
Copy Markdown
Contributor

@cleicar cleicar commented Dec 28, 2017

This PR is related to issue #3.

This PR depends on PR #7

@cleicar cleicar self-assigned this Dec 28, 2017
@cleicar cleicar requested a review from mauro-oto December 28, 2017 19:44
Copy link
Copy Markdown
Contributor

@mauro-oto mauro-oto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks! Check my comment.

Comment thread lib/rails_upgrader/cli.rb Outdated
if write_to_file
filename = "all_strong_params.rb"
File.open(filename, "w") { |f| f.write(result) }
STDOUT.puts "See the strong params result at generated file: #{filename}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cleicar could you try removing STDOUT and just call puts on these lines?

@cleicar
Copy link
Copy Markdown
Contributor Author

cleicar commented Feb 16, 2018

@mauro-oto Thank you. I just updated my PR.

@mauro-oto
Copy link
Copy Markdown
Contributor

@cleicar looks good, thanks! 👍

@mauro-oto mauro-oto merged commit d332d35 into master Apr 4, 2018
@mauro-oto mauro-oto deleted the features/output-to-terminal branch April 4, 2018 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants