search for: findbyaccount

Displaying 1 result from an estimated 1 matches for "findbyaccount".

Did you mean: find_account
2006 Aug 15
5
ActiveRecord inheritance
Hello, I got the following issue and I do not know how to resolve it: #1. created parent class (AccountExtended) for some my models (lib/classes_lib.rb): class AccountExtended < ActiveRecord::Base def self.findByAccount end end #2. created model Country: require ''lib/classes_lib'' class Country < AccountExtended end #3. and added a test controller what shows an issue (view_controller.rb): class ViewController < ApplicationController def index @countries = Country.find(:all)...