controllers
No Method Error – Undefined Method for Class
So this has just been driving me nuts! I have looked through tons of posts and can\'t quite get my app to work.. i am hoping the SO community can.[详细]
2023-03-17 12:59 分类:问答Rails 3 - uninitialized constant Setting::Paymentshop
I am getting still this error, Setting and Paymentshop are models. class Setting < Acti开发者_开发百科veRecord::Base[详细]
2023-03-17 12:09 分类:问答MVC Partial Views Validations
I have a question for a behaviour that I don\'t understand. I have added some data annotation to my PartialClass, and created a partial view for it.[详细]
2023-03-14 18:07 分类:问答How can I override a Magento controller?
I need to check the validity of开发者_运维百科 a coupon code on the checkout/cart page with server-side code.[详细]
2023-03-13 06:27 分类:问答Test protected methods of ZF controllers with PHPUnit
I want to test a protected method which is inside a controller: class AuthenticateController extends Zend_Controller_Action[详细]
2023-03-12 00:02 分类:问答Magento multi website controller
Is it possible to programmatically dispatch websites in Magento? Currently, I have a directory in the root of my site called /websites. In this directory I have subdirectories for each website, for ex[详细]
2023-03-11 17:07 分类:问答Rails 3, how to secure and protect controllers and urls
I\'m sort of new to rails, what I want to to is protect users profile what I mean is if user 1 login and go to edit his profile he can, but also if he change on 开发者_Python百科the url to user to #[详细]
2023-03-11 05:22 分类:问答Ensure that the controller's request is valid?
In my app, I have [for example] three controllers: groups, forums, and discussions. In my discussions_controller.rb:[详细]
2023-03-11 04:53 分类:问答How can I deal with invalid IDs in before_filter?
Let\'s say my controller looks like this: class MyController < ApplicationController before_filter :find_user,:only => [:index,:create,:update,:destroy][详细]
2023-03-10 23:53 分类:问答Grails controllers each with multiple buttons
I want to do something like the folowing image: Everytime i click on Add, a new page is shown and i chose the name for a button to add. Every button, when is clicked, should pass a diferent params[详细]
2023-03-10 12:30 分类:问答