I\'m trying to create a slug helper in Sinatra. Here\'s the code (as see开发者_如何学Cn here): helpers do
Is there a way that I can create a custom form helper so that instead of: special_field_tag :object, :method
So my question is how would you implement your handwritten Helpers based on the role of current user.
I have a strange error that came about when I changed my app from mongrel to mod_rails. My app changes from a two column layout to a three column layout depending on where the user is in the app. My
In my application_helper.rb file I have a function like this: def internal_request? server_name = request.env[\'SERVER_NAME\']
I\'m start using cakephp and i made a demo app using AjaxHelper $ajax->link(\'title\', \'url\', array(\'update\' => \'mydiv\'))
Not so much a programming problem, but more a productivity problem. We\'ve got quite a few custom view and action helpers in our project. Working with around 7 programmers.
Is there a way to find all Polymorphic models of a specific polymorphic type in Rails?So if I have Group, Event, and Project all with a declaration like:
I have an application helper which determines the css classes (selected or unselected) and link addresses for the navbar at the top of my application helper.
I want to build this dropdowns with these specific attributes.. How can I do this? Im using LinqToSql. Each Company has employees