synvert-ruby
synvert-ruby copied to clipboard
write snippet code to rewrite your project code
Auto corrected by following Lint Ruby Layout/EmptyLineAfterMagicComment Click [here](https://awesomecode.io/repos/xinminlabs/synvert/lint_configs/ruby/103458) to configure it on awesomecode.io
Auto corrected by following Format Ruby Code Click [here](https://awesomecode.io/repos/xinminlabs/synvert/format_configs/ruby) to configure it on awesomecode.io
Auto corrected by following Space
Auto corrected by following MagicComment
Auto corrected by following Space
This would be more helpful for those who aren't sure \* should be escaped.
I had a `Error: #` with `upgrade_rails_3_2_to_4_0` snippet and wondered why, so I added that backtrace. For example: ``` 4:28 ⮀ mobox ⮀ ~/projects/agitracker ⮀ bundle exec synvert -s upgrade_rails_3_2_to_4_0...
Original code: ``` ruby Post.where{ (due_at < Time.zone.now) & ~paid } ``` Target code: ``` ruby Post.where("due_at < Time.zone.now AND paid = 0") ``` Actual result: ``` ruby Post.where{ due_at...
Hi, I tried to use the last version of `synvert` and I have something which looks like an issue. What I did: ``` shell $> rbenv version 2.1.6 $> gem...
I have seen this with the rails/strong_parameters snippet, but I think the problem is more general. Basically, given a source like ``` attr_accessible *args ``` doing ``` eval arguments.first.to_source #...