I have 2 legacy tables I want to join:
I want to join Transaction_Detail.Account with Accounts.Account.
I also want to be able to select Transaction_Details based on a field in
the Accounts table. Is that possible? I’m thinking it should be.
I’d prefer to do it with Active Record, as opposed to find_by_sql.
I currently have:
class Transaction_Detail < ActiveRecord::Base
class Account < ActiveRecord::Base
TransactionDetail.find(:all) … not sure what to do about the