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.
I am getting still this error, Setting and Paymentshop are models. class Setting < Acti开发者_开发百科veRecord::Base
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.
I need to check the validity of开发者_运维百科 a coupon code on the checkout/cart page with server-side code.
I want to test a protected method which is inside a controller: class AuthenticateController extends Zend_Controller_Action
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
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 #
In my app, I have [for example] three controllers: groups, forums, and discussions. In my discussions_controller.rb:
Let\'s say my controller looks like this: class MyController < ApplicationController before_filter :find_user,:only => [:index,:create,:update,:destroy]
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