
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Whats the only kind of Model a Ruby Developer can get?
A Fat one...
FatModelFinder is a CLI tool designed to help developers identify "fat models" in their Rails applications. It scans the /app/models
directory, analyzes each model file, and determines whether the model is "fat" based on conditions defined in this gem.
To install the gem and add it to your application's Gemfile, execute:
$ bundle add fat_model_finder
If Bundler is not being used to manage dependencies, install the gem by executing:
$ gem install fat_model_finder
After installing the gem, you can use the CLI tool to scan your Rails application's models. Navigate to the root directory of your Rails application and run:
To scan the models and save the fat model data into a JSON file named file_data
:
$ bin/fat_model_finder scan
To display the fat models based on the saved JSON data:
$ bin/fat_model_finder show_fat_models
The scan
command analyzes the models in the /app/models
directory and saves the results in a JSON file. The show_fat_models
command parses the JSON file and outputs the fat model data to the user.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that fat_model_finder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.