Sha256: ca8cdef6b7a1c4363148ab8928417501fc186644d2fe159965a3b2ac7d142cb9

Contents?: true

Size: 291 Bytes

Versions: 63

Compression:

Stored size: 291 Bytes

Contents

class Developer < User
  has_and_belongs_to_many :projects, :include => :topics, :order => 'projects.name'

  def self.with_poor_ones(&block)
    with_scope :find => { :conditions => ['salary <= ?', 80000], :order => 'salary' } do
      yield
    end
  end

  def self.per_page() 10 end
end

Version data entries

63 entries across 63 versions & 8 rubygems

Version Path
cehoffman-acts_as_ferret-0.4.4 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
jkraemer-acts_as_ferret-0.4.4 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
watson-acts_as_ferret-0.4.8.2 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
backlog-0.37.2 vendor/plugins/will_paginate/test/fixtures/developer.rb
backlog-0.37.1 vendor/plugins/will_paginate/test/fixtures/developer.rb
acts_as_ferret-0.5.2 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
acts_as_ferret-0.4.8.2 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
acts_as_ferret-0.4.8.1 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
acts_as_ferret-0.5.1 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
acts_as_ferret-0.5 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
backlog-0.36.2 vendor/plugins/will_paginate/test/fixtures/developer.rb
acts_as_ferret-0.4.8.rails3 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
acts_as_ferret-0.4.8 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
acts_as_ferret-0.4.7 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
acts_as_ferret-0.4.6 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
acts_as_ferret-0.4.4 doc/demo/vendor/plugins/will_paginate/test/fixtures/developer.rb
ambition-0.1.6 ./test/databases/fixtures/developer.rb
ambition-0.2.0 ./test/databases/fixtures/developer.rb
ambition-0.2.1 ./test/databases/fixtures/developer.rb
ambition-0.3.1 ./test/databases/fixtures/developer.rb