I have Action Helper that is database abstraction layer. I would like to access it in View Helper to read and present some data from the model.
I\'m doing some bit of redesigning here for which we hired an outsourced freelance designer. He sent in the designs however he\'s used css class styles for the textboxes as opposed to my earlier attem
I have a class method in my model, and I need to access a method from one of my view helpers. Currently I am including include TalkHelper, but I still ge开发者_JAVA技巧t a NoMethodError.In your model,
I saw this post about adding parameters to a member action route: Rails3 Routes - Passing parameter to a member route
I am working for a company where I inherited their administration site.The guy before me didn\'t use view helpers much so 95% of the code in these helpers is mine.
I have smth like this: f.collection_select with options I need to modify the standard behaviour of that collection_select (I need to add some option there)
Is there a way to create a view helper file that will be available to all views in a namespace? Like application_helper.rb, but only working for a 开发者_如何学Cgiven namespace.
This question already has answers here: Closed 11 years ago. Possible Duplicate: Access a view helper for a model in rails
I am trying to figure out a way to do the following: I want to make an action which will be loaded through ajax and also its the internal part of the page when page is reloaded.
my problem is fairly when I call a view helper from view script it can\'t be called although I addedproperly all information path to the config file via this line: