Skip to content
Snippets Groups Projects
Select Git revision
  • ff8b2635c308d45ec38fd4eed257db7da9b3c4b0
  • master default protected
  • ci-test-ruby-2.5
  • drop/ruby-2.1
  • version/0.9
  • feat/drop-signup
  • version/0.8
  • version/0.7.1
  • version/0.7
  • version/0.6.1
  • version/0.6
  • 0.9.3
  • 0.9.2
  • 0.9.1
  • 0.9.0
  • 0.8.0
  • 0.7.1
  • 0.7.0
  • 0.6.0
  • 0.5.3
  • 0.5.2
  • 0.5.2-rc
  • 0.5.1
  • 0.5.1-rc2
  • 0.5.1-rc
  • 0.5.0
  • 0.5.0.rc
  • 0.2.8
  • 0.2.8.rc
  • 0.2.7
  • 0.2.6
31 results

email.rb

Blame
  • Azul's avatar
    azul authored
    We saw errors from duplicate loading of LocalEmail and
    LoginFormatValidation. The latter resulted in a crash.
    
    In an attempt to ensure all subclasses of Couchrest::Model::Base are
    loaded Couchrest::Model::Utils::Migrate requires all files in app/models.
    We have an extension that does the same for the engines.
    
    During this process LoginFormatValidation and LocalEmail were autoloaded
    when 'identity' was required. Afterwards they were required again.
    It looks like rails' autoload mechanism does not play nicely with require.
    
    So to make sure they are not autoloaded first move the concerns and
    helper classes into the lib directory and require them explicitly.
    638acc59
    History
    email.rb 559 B