Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willnet/add_optional_true
https://github.com/willnet/add_optional_true
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/willnet/add_optional_true
- Owner: willnet
- License: mit
- Created: 2023-10-23T08:56:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-23T08:58:57.000Z (about 1 year ago)
- Last Synced: 2025-01-02T23:33:14.019Z (10 days ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```