v0.3.1
Release v0.3.1
New Features
- None
Improvements
- Eager loading on request detail page: Operations and their associated queries are now eager-loaded when viewing an individual request, eliminating N+1 queries on the request show page (#121)
Bug Fixes
- Fixed broken install generator schema template: The
rails_pulse_schema.rbgenerator template was missing several columns added in recent releases. Fresh installs will now correctly create all columns includingresponse_size_byteson requests,row_count/cache_hit/repeated_query_group/repetition_counton operations, and a database index on thesummarizablepolymorphic association (#125) - Fixed logger initialization crash:
RailsPulse.loggernow safely falls back to$stdoutwhenRails.loggeris unavailable (e.g. during early boot or in non-Rails contexts), preventingNoMethodErroron startup (#126)
Breaking Changes
- None
Upgrade Notes
- If you installed Rails Pulse before v0.3.1, run
rails generate rails_pulse:upgradeto apply the missing schema columns (response_size_bytes,row_count,cache_hit,repeated_query_group,repetition_count) and add the missing index on the summaries polymorphic association. These columns were present in existing installs but absent from the generator template used for fresh installs.