I have been adding error and business validation to my app, and when I test using a view that was strongly typed to one model, let\'s say locations, I get the validation summary as well as the validat
I have two databases with same structure in MS SQL server. I\'d like to copy all views another database.
I would like to ad开发者_开发问答d an image inside a button,but this image shows the current view of one of my views.
I use formtastic to create new and edit forms for my resources. with something like f.inputs it fetches and displays all my fields automatically.
In my views I sometimes use this: return HttpResponseRedirect(\"/account/\") But that is hardcoding a url in my view, which I think is not very nice.
I\'m trying to figure o开发者_开发问答ut how to show/hide links for users based on their roles.I know how to set the authorize attribute for an action method, but I\'m having trouble making links show
To give some background on my issue: I have 3 tables called Products, Packages, and PackageContents.I can go in my application and add products, and then I can create packages out of them.One of the
I have the following form_for declaration in a Rails site I am building: form_for(form_question, :url => { :controller => \"form_questions\", :action => \"edit\", :id => form_questio开发者
I have a created a view (lets call it my_view). In the theme: information section if the view I have noted one of the suggested template names (views-view--my-view--default.tpl.php (or close to that)
Lets say I have a website with a small application that lists the 10 newest members, or something dynamic like that. I want this to view on every page, perhaps in a sidebar. How would i go about doing