def model
      @model ||= begin
        if self.class.path_to_model
          m = eval(self.class.path_to_model)
          if m
            if m.respond_to?(:_controller=)
              m.send(:_controller=, self)
            end
          else
            fail "No model object found at path: #{self.class.path_to_model}"
          end
          m
        end
      end
    end
def model
      @model ||= begin
        if self.class.path_to_model
          m = eval(self.class.path_to_model)
          if m
            if m.respond_to?(:_controller=)
              m.send(:_controller=, self)
            end
          else
            fail "No model object found at path: #{self.class.path_to_model}"
          end
          m
        end
      end
    end
Returns the controller's model