Why doesn't this work:
class AdminController < ApplicationController
def list_pending @people = Person.get_unapproved end
class Person < ActiveRecord::Base
def get_unapproved
Make it...
def self.get_unapproved
-philip
Why doesn't this work:
class AdminController < ApplicationController
def list_pending @people = Person.get_unapproved end
class Person < ActiveRecord::Base
def get_unapproved
Make it...
def self.get_unapproved
-philip