Topic: Best place to handle non-web data processing activities?
I am working on a rails application and so far form submission, views etc. are working out OK.
My question is: what is the best 'Rails Way' to handle non web related administrative tasks?
The administrator occasionally needs to run processes which make pre-planned edits to text files, run SQL inserts and updates and other data processing activities as part of administrating the application.
An example is: when a new pay period is being created, an administrator loads a text file which defines a custom calendar for the pay period, runs a process which modifies it based on the existence (if any) of holidays in that period, then saves the result into another table.
What is the best way to create non-web administrative processes and make them available to the admin through a Rails web page?
Thanks for any help. --Fred