Hi there,
I’m fairly new to Rails and I’m trying to wrap my head around the
whole REST concept. I’m creating an application that takes in sales
data daily and at the end of the month it will create a batch of
invoices in a Simply Accounting database. I’ve already worked out the
details on connecting to the external (Simply) db and creating the
invoices. What I don’t really get is how to do this with a RESTful
controller.
My thought was to create a MonthEnd resource. The ‘new’ action would
basically ask for a month, then the ‘create’ action would actually
build the invoices in the db.
Does this sound ok, or is there a more elegant solution?
Thanks!