Sha256: 9809b2a6a6df43ab226df9d1b276adba4d7e6a3434b6ab27ebe16a30c3bd7687

Contents?: true

Size: 249 Bytes

Versions: 6

Compression:

Stored size: 249 Bytes

Contents

<% module_namespacing do -%>
class AuthenticationProvider < ActiveRecord::Base
  has_many :<%= table_name %>
  has_many :<%= class_name.downcase %>_authentications
<% if Rails::VERSION::MAJOR < 4 -%>
  attr_accessible :name
<% end -%>
end
<% end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
domp-0.0.7 lib/generators/domp/templates/authentication_provider.rb
domp-0.0.6 lib/generators/domp/templates/authentication_provider.rb
domp-0.0.5 lib/generators/domp/templates/authentication_provider.rb
domp-0.0.4 lib/generators/domp/templates/authentication_provider.rb
domp-0.0.3 lib/generators/domp/templates/authentication_provider.rb
domp-0.0.2 lib/generators/domp/templates/authentication_provider.rb