I put non-ORM classes - or "services layer" classes - in app/models,
not lib. To me, lib seems like the place to put library (i.e. generic,
or not application specific) Ruby files that don't happen to be
packaged as gems. To me, the directory 'app' implies 'application
specific'. In the example linked, pay roll models seem very
application specific so if it were me, I'd put them inside the app
directory somewhere.

Am I wrong? What is the best practice with regards to app/models versus lib?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com.
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to