Sha256: 494ed358505ebf949a1e63938408fc3fa21deb8b593a3d23fb12ca1c57df3c84

Contents?: true

Size: 167 Bytes

Versions: 3

Compression:

Stored size: 167 Bytes

Contents

class Message < ActiveRecord::Base
  attr_accessible :first_name, :last_name, :subject, :body, :ip_address

  rate_limit :on => :ip_address, :interval => 1.minute
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rate_limiter-0.0.6 spec/dummy/app/models/message.rb
rate_limiter-0.0.5 spec/dummy/app/models/message.rb
rate_limiter-0.0.4 spec/dummy/app/models/message.rb