def define_static_cache_key_finder#:nodoc:
      return unless acts_as_static_record_options[:find_by_attribute_support]
      #define the key column if it is not a hash column
      if ((key_column = acts_as_static_record_options[:key]) &&
          (!column_methods_hash.include?(key_column.to_sym)))
        class_eval %{
          def self.find_by_#{key_column}(arg)
            self.static_record_cache[:key][arg.to_s]
          end
        }, __FILE__, __LINE__
      end
    end
def define_static_cache_key_finder#:nodoc:
      return unless acts_as_static_record_options[:find_by_attribute_support]
      #define the key column if it is not a hash column
      if ((key_column = acts_as_static_record_options[:key]) &&
          (!column_methods_hash.include?(key_column.to_sym)))
        class_eval %{
          def self.find_by_#{key_column}(arg)
            self.static_record_cache[:key][arg.to_s]
          end
        }, __FILE__, __LINE__
      end
    end
Define a method find_by_KEY if the specified cache key
 is not an active record column