Rails- Using a set of functions across the view , controller and model
- by ming yeow
Hi folks, i have a function that converts an array to a hash which i would like to use across all the model, controller and view files in the rails app.
Does this violate some core design principle, or am i missing something really obvious?