search for: hide_action

Displaying 7 results from an estimated 7 matches for "hide_action".

2006 Jan 14
4
hide_action doesnot hide view
The view file (eg. apps/views/items/list.rhrml) is still displayed even when the action is hidden (hide_action :list). How can I hide view file form being automatically displayed in this circumstance? thanks, jigar -- Posted via http://www.ruby-forum.com/.
2011 Feb 18
1
Rails plugins new official maintainers
...a dynamic_form (https://github.com/joelmoss/dynamic_form) Prem Sichanugrist Joel Moss Devdatta exception_notification (https://github.com/smartinez87/exception_notification) Sebastián Martínez Jason King Devdatta acts_as_list (https://github.com/swanandp/acts_as_list) Mark Turner Swanand Pagnis hide_action (https://github.com/sikachu/hide_action) Prem Sichanugrist open_id_authentication (https://github.com/Velir/open_id_authentication) Anuj Dutta Patrick Robertson asset_server (https://github.com/andhapp/asset_server) Anuj Dutta Rishav Rastogi in_place_editing (https://github.com/amerine/in_place_...
2006 May 21
6
Is there a way to call helper methods in a controller?
Hi, Is there a way to call helper methods in a controller? I want to do something like this in my controller Class MyController < Action.... def my_method string = link_to "some_url", :controller => "home", :action => "command" end end link_to is an ActionView helper method and it seems that I couldn''t access the method in the controller
2006 Jun 07
2
Confirm User engine clobbers active web service actions
Hello Ive been learning / implementing AWS Thanks to the wonderful pdf by orielly I was able to spot a problem with the User Engine I would like to see if anyone else has had problems with this?? Basically if you make a web service at /products You should be able to reach /product/wsdl and get a well formatted xml doc If you have a login engine on it seems
2006 May 19
0
Hiding and unhiding actions.
...onds to /user/action. I subclassed it with an Admin::UserEngine. I''d like to have some actions available in the subclass and *not* in the superclass. If all the code was mine this would not be a problem, of course. However , I''d like not to change their code. I had a look at hide_action, but there isn''t a unhide_action (since the natural solution would be to move methods directly to the subclass). Any solution? Thanks in advance. -- blog: http://www.akropolix.net/rik0/blogs | site: http://www.akropolix.net/rik0/ | forum: http://www.akropolix.net/forum/ |
2006 Jun 06
5
Functional tests and protected actions
Hello! I have certain methods in my Application Controller, that I need to access. Namely ApplicationController#logged_in_user The problem is, that when I try to access it, I get: NoMethodError: protected method `logged_in_user'' called for #<AdminController> Any ideas how I can circumvent that? Or are functional tests really not suited for any kind of logins and session work?
2006 Jul 25
11
Prevent users from entering urls
How could I make it so that links on my page could link to a controllers action, but if the user manually entered the url, it would redirect them back to the main page? Is this possible? Thank you, -Ben Lisbakken -- Posted via http://www.ruby-forum.com/.