Skip to content

Commit

Permalink
Rename Model to BasicModel, closes #23
Browse files Browse the repository at this point in the history
  • Loading branch information
cgriego committed Oct 2, 2011
1 parent 58ae52f commit b448ef3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/active_attr.rb
Expand Up @@ -10,9 +10,9 @@ module ActiveAttr

autoload :AttributeDefinition
autoload :Attributes
autoload :BasicModel
autoload :Error
autoload :MassAssignment
autoload :Model
autoload :StrictMassAssignment
autoload :UnknownAttributesError
autoload :VERSION
Expand Down
4 changes: 2 additions & 2 deletions lib/active_attr/model.rb → lib/active_attr/basic_model.rb
Expand Up @@ -6,11 +6,11 @@ module ActiveAttr
#
# @example Usage
# class Person
# include ActiveAttr::Model
# include ActiveAttr::BasicModel
# end
#
# @since 0.2.0
module Model
module BasicModel
extend ActiveSupport::Concern
extend ActiveModel::Naming
include ActiveModel::Conversion
Expand Down
@@ -1,11 +1,11 @@
require "spec_helper"
require "active_attr/model"
require "active_attr/basic_model"

module ActiveAttr
describe Model do
describe BasicModel do
let(:model_class) do
Class.new do
include Model
include BasicModel

def self.name
"Foo"
Expand Down

0 comments on commit b448ef3

Please sign in to comment.