Sha256: 9aeb4fe37162299796443f73172d88dc88032df0098683cf4ac1fd09a05a3f29

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

module EnjuSearchLog
  module SearchLogUser
    def self.included(base)
      base.extend ClassMethods
    end

    module ClassMethods
      def enju_search_log_user_model
        attr_accessible :save_search_history
        attr_accessible :save_search_history, :as => :admin
        has_many :search_histories, :dependent => :destroy
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_search_log-0.1.0.pre4 lib/enju_search_log/user.rb