Displaying 3 results from an estimated 3 matches for "another_act".
Did you mean:
another_app
2006 Jun 28
7
caching objects
...nd i want to get all of
the records out of the table, and keep them in my application, without
pulling them out every other action (unless i specify otherwise)...
i was hoping there was something as simple as
MyController
#here
caches_action :get_groups
def index
get_groups
end...
def another_action
get_groups
end
..
..
private
#and here
def get_groups
@groups = Group.find(:all)
end
but i can''t get it to work! ..i''m in production mode, with the
ActionController::Base.perform_caching = true
and it still isn''t working! ...any ideas to what i am doing wrong...
2009 May 21
0
"HTTP Parameter Pollution" and Rails
...d, the Linksys Wireless-G PTZ Internet Camera is
included:-). I believe Rails falls under "Last occurrence", and I think
that works out well.
In particular, I see Rails handling requests such as
http://localhost:3000/login?controller=other_controller&action=other_action&action=another_action
just fine -- the controller/action one expects is invoked (here,
login/index).
However I couldn''t find the behaviour with respect to such multiple
key-value assignments, or attempts at overriding the "Rails special"
controller/action keys, covered in the actionpack unit tes...
2005 Jan 25
29
Write-up on RoR + XUL Sample
Hi Folks,
Just a quick message saying that, after much demand, I wrote a quick
write-up for the RoR + XUL thing I did yesterday:
http://www.zedshaw.com/blog/programming/ruby_xul.html
It lays out the few simple things I did, has a bit of rant on an
unrelated topic, and other stuff but it''s short still.
On a related note, I''d like to thank "xal" on IRC for reminding