how do I change my activerecord model default behavior for the find method? For example, i want to search for all books inside drupal nodes database, but drupal uses only one table for all data, and uses the 'type' column to find out the type
class Book < ActiveRecord::Base
  set_table_name 'node'
  def find(*args)
    :conditions => {:type => 'book'}
    super
  end
end
this is the correct approach to solve this problem?