noosfero | Api tasks mount point (#619)
Rodrigo Souto
gitlab at gitlab.com
Tue Jul 7 10:17:24 BRT 2015
New comment for Merge Request 619
https://gitlab.com/noosfero/noosfero/merge_requests/619#note_1584769
Rodrigo Souto
This is a very strong piece of code to be here on the api helper. There are also other parts of Noosfero code where the types are hardcoded because of this lazy loading behaviour of Rails. I agree that using this eager_load is actually a good idea, but it's a change that must go through the community first and also should be done in a better place (like config/application.rb for example).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150707/19385b36/attachment.html>
More information about the Noosfero-dev
mailing list