
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
AI-powered summary generator for Ruby on Rails applications.
AiSummary
scans your Rails project and creates a structured summary of your models, database tables, associations, controllers, and routes. It’s designed to help AI tools (like ChatGPT or GitHub Copilot) better understand your codebase for debugging, refactoring, onboarding, or generating code.
has_many
, belongs_to
, etc.).txt
file (YAML and JSON output planned)After it's released to RubyGems.org, add it to your Gemfile: bundle add ai_summary Or install it manually: gem install ai_summary If you want to use the gem directly from GitHub before release: gem 'ai_summary', git: 'https://github.com/andersmarkc/ai_summary' Then run: bundle install
bundle exec rails runner 'AiSummary::SummaryGenerator.generate'
AiSummary::SummaryGenerator.generate
bundle exec rake ai_summary:generate # Default output: rails_summary.txt bundle exec rake ai_summary:generate[json] # Output: rails_summary.json bundle exec rake ai_summary:generate[yaml] # Output: rails_summary.yaml
By default, this will generate a rails_summary.txt file in your project root.
User (table: users)
Order (table: orders)
UsersController
OrdersController
GET /users => users#index GET /users/:id => users#show POST /orders => orders#create PATCH /orders/:id => orders#update
Bug reports and pull requests are welcome on GitHub at https://github.com/andersmarkc/ai_summary
This project is intended to be a safe, welcoming space for collaboration. Contributors are expected to follow the Code of Conduct.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that ai_summary 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.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.