Interestingly, ActiveRecord::CounterCache does this the appropriate way.
https://github.com/rails/rails/blob/master/activerecord/lib/active_record/counter_cache.rb#L72
On Sunday, January 20, 2013 6:56:37 PM UTC-5, ajsharp wrote:
The method is here:
Interesting. Hopefully we can get an explanation as to why the increment
methods are not done this way, and if the core team would be open to a patch.
- Alex
On Monday, January 21, 2013 at 6:01 AM, Matt Huggins wrote:
Interestingly, ActiveRecord::CounterCache does this the appropriate way.
what if you have to include engine dependency from git repository?
On Wednesday, July 4, 2012 6:38:18 PM UTC+3, mschuerig wrote:
On Wednesday 04 July 2012, Piotr Sarnacki wrote:
Hi,
You should require dependencies of an engine before initialization,
for example in
Concerning
http://stackoverflow.com/questions/13266603/rails-how-to-set-port-number-for-the-asset-hosts-in-development
I'm setting the full asset hosts in the environment files, being the one in
development http://localhost:3000 . But let's say I restart the application
on port 3001. Assets