Am new to ROR and need immediate help in my wotk. I have a
controller.rb .In the ‘create’ and ‘update’ and ‘show’ methods in the
controller i want to call a function defined in some other class.
This ‘some other class’ will have functions that will do the work i
1.My problem is where do i store this class that i need. ?in
controllers or models ? or perhaps in some other location
2. How do i name it?
For eg if Class Tea is my class name then should i save it as tea.rb?
3. How do i use the methodsof this class in my controller?
is it like…
4.Or is there any other different way to define my own methods and call
it inside the controlller.
Builders or promoters of ROR ,Please reply so that i can convince my
MGMT to use ROR