On Mon, Feb 16, 2009 at 8:03 PM, Pat Allan <[email protected]> wrote: > > Okay, global settings are all correct... > > e = Expense.new :amount=>1, :creator_id=>1, :business_id=>1, :due_date > => Date.today > e.send(:should_toggle_delta?) # this should be true > e.save > e.delta # this should be true >
>> e = Expense.new :amount=>1, :creator_id=>1, :business_id=>1, >> :due_date=>Date.today => #<Expense id: nil, amount: #<BigDecimal:e4c07bd,'1.0',1(4)>, bank_account_id: nil, title: nil, check_number: nil, created_at: nil, creator_id: 1, updated_at: nil, updater_id: nil, notes: nil, business_id: 1, date: nil, expense_category_id: nil, contractor_id: nil, employee_id: nil, paid_date: nil, is_paid: nil, transfer_fund_id: nil, payee_id: nil, due_date: "2009-02-16", client_id: nil, repeater_id: nil, repeated_template: false, bank_statement_id: nil, delta: false, regex_title: nil, template_name: nil> >> e.send(:should_toggle_delta?) => true >> e.save => true >> e.delta => true --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
