- Remove unused create_stripe_session method from TicketsController - Replace hardcoded API key with environment variable for security - Fix typo in ApplicationHelper comment - Improve User model validation constraints for better UX - Add comprehensive YARD-style documentation across models, controllers, services, and helpers - Enhance error handling in cleanup jobs with proper exception handling - Suppress Prawn font warnings in PDF generator - Update refactoring summary with complete change documentation All tests pass (200 tests, 454 assertions, 0 failures) RuboCop style issues resolved automatically 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
246 B
Ruby
Executable File
13 lines
246 B
Ruby
Executable File
module ApplicationHelper
|
|
# Convert price from cents to float
|
|
def format_price(cents)
|
|
(cents.to_f / 100).round(2)
|
|
end
|
|
|
|
# Include flash message helpers
|
|
include FlashMessagesHelper
|
|
|
|
# Include Stripe helper
|
|
include StripeHelper
|
|
end
|