Displaying 1 result from an estimated 1 matches for "systemmessagecontroller".
2006 May 03
7
Business Logic and where to place with rails
...ng an issue of deciding where I should put the business code
for example the more complex code coming off the controller. Right now,
I am just thinking to put it in the ''lib'' directory and the do something
along these lines:
require_dependency "system_process"
class SystemMessageController < ApplicationController
include SystemProcess
...
...
Where there is a file called ''system_process.rb'' in my ''lib'' directory.
Is this good, bad for rails design?
--
Berlin Brown
(ramaza3 on freenode)
http://www.newspiritcompany.com
http://www.newspiritc...