Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/willnet/add_optional_true


https://github.com/willnet/add_optional_true

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

# AddOptionalTrue

rewrite script to add `optional: true` to `belongs_to` method

## Usage

```bash
git clone https://github.com/willnet/add_optional_true.git
cd add_optional_true
bundle install
bundle exec ruby-rewrite -l add_optional_true.rb -m your_ruby_file.rb
```