lib/simple_model/base.rb in simple_model-1.2.12 vs lib/simple_model/base.rb in simple_model-1.2.13

- old
+ new

@@ -16,13 +16,13 @@ require 'active_support/core_ext/object/duplicable' require 'active_support/core_ext/object/blank' # == SimpleModel::Base # - # Provides an interface for any class to build tableless models. + # Provides an interface for any class to build table-less models. # - # Implements Validations, Callbacks and Dirty from ActiveModel, and datatype specific + # Implements Validations, Callbacks and Dirty from ActiveModel, and data-type specific # attribute definitions with default options. SimpleModel::Base is intended as # an example, while it may be used in production, which it is on many of my apps # today, it is recommend you use SimpleModel::Base as an example to implement your # own model actions. # @@ -37,10 +37,10 @@ # # Available Actions: # # save # # update # # create - # # destory + # # destroy # # ==== Example # # class MyModel < SimpleModel::Base # save :my_save, :rollback => :undo_save \ No newline at end of file