Skip to content
  • holausman's avatar
    d31bf3b1
    feat: Add ActiveStorage, views generator, and auto-copy views on install · d31bf3b1
    holausman authored
    ### ActiveStorage Integration
    - Replace featured_image_url string field with ActiveStorage
    - Add has_one_attached :featured_image to Post model
    - Update admin forms to use file upload fields
    - Add migration to remove featured_image_url column
    - Update views to display images with variants
    
    ### Views Generator (Devise-style)
    - Add rails generate blog_engine:views generator
    - Support --admin-only flag for admin views only
    - Support -v flag for specific view directories
    - Copy all views to app/views/blog_engine/ for customization
    - Enable easy Tailwind CSS customization
    
    ### Auto-copy Views on Install
    - Install generator now copies views by default
    - Add --skip-views flag to opt-out
    - Update install README to mention copied views
    - Views ready for immediate Tailwind customization
    
    ### Improved Authentication
    - Use respond_to? pattern for Rails-compliant auth
    - Add helpful error messages when auth method not found
    - Make authentication methods protected (Rails convention)
    - Works across multiple apps with different admin systems
    
    ### Bug Fixes
    - Remove uniqueness validation from Sluggable (FriendlyId handles this)
    - Fix "slug has already been taken" error when editing
    - Use friendly.find for category lookups
    - Fix route helper context in engine views
    
    ### Documentation
    - Add comprehensive Styling Integration section to USAGE_GUIDE
    - Add authentication setup guide with multiple options
    - Update README with views generator and customization
    - Add Tailwind customization examples
    - Document layout configuration options
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code
    
    )
    
    Co-Authored-By: default avatarClaude <noreply@anthropic.com>
    d31bf3b1
    feat: Add ActiveStorage, views generator, and auto-copy views on install
    holausman authored
    ### ActiveStorage Integration
    - Replace featured_image_url string field with ActiveStorage
    - Add has_one_attached :featured_image to Post model
    - Update admin forms to use file upload fields
    - Add migration to remove featured_image_url column
    - Update views to display images with variants
    
    ### Views Generator (Devise-style)
    - Add rails generate blog_engine:views generator
    - Support --admin-only flag for admin views only
    - Support -v flag for specific view directories
    - Copy all views to app/views/blog_engine/ for customization
    - Enable easy Tailwind CSS customization
    
    ### Auto-copy Views on Install
    - Install generator now copies views by default
    - Add --skip-views flag to opt-out
    - Update install README to mention copied views
    - Views ready for immediate Tailwind customization
    
    ### Improved Authentication
    - Use respond_to? pattern for Rails-compliant auth
    - Add helpful error messages when auth method not found
    - Make authentication methods protected (Rails convention)
    - Works across multiple apps with different admin systems
    
    ### Bug Fixes
    - Remove uniqueness validation from Sluggable (FriendlyId handles this)
    - Fix "slug has already been taken" error when editing
    - Use friendly.find for category lookups
    - Fix route helper context in engine views
    
    ### Documentation
    - Add comprehensive Styling Integration section to USAGE_GUIDE
    - Add authentication setup guide with multiple options
    - Update README with views generator and customization
    - Add Tailwind customization examples
    - Document layout configuration options
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code
    
    )
    
    Co-Authored-By: default avatarClaude <noreply@anthropic.com>
Loading