Displaying 3 results from an estimated 3 matches for "force_reload".
Did you mean:
force_load
2006 Apr 28
0
ActiveRecord associations -- when to use force_reload = true
...not get updated
depending on the Rails version and the way I''m adding items.
So I''m confused by these inconsistencies...
Can anyone give me an official answer as to when I should call
order.items(true) to get an updated list of items? I wouldn''t want to
call it with force_reload = true every time as that would defeat the
caching optimization.
Many thanks,
Andrei
--
Posted via http://www.ruby-forum.com/.
2006 Apr 28
7
acts as drop down
Hi
Im using the acts as drop down plugin
and have this code below
acts_as_dropdown :text => "forename", :order => "forename"
It currently makes use of the forename in the option tag, how can I get
it to use the surname as well
ie somthing like ''forename'' . ''surname'' in php
Thanks
--
Posted via http://www.ruby-forum.com/.
2009 Sep 01
13
Function Testing Reloading Fixtures before assertion
...the problem is that after I run the delete method in the test
the fixtures are reloaded before the next assert so the status is put
back to "published" when it should be "deleted". I think this is the
problem only because when I step through the process in the debugger I
see:
force_reload = fixtures.pop if fixtures.last == true ||
fixtures.last == :reload
Right after it calls the delete.
Any help would be appreciated.
- bp