David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
David Kimura PRO said about 9 years ago on Routing Partials :

Either should work since the method is calling instance_eval.



David Kimura PRO said about 9 years ago on FullCalendar Events and Scheduling :

Is your local env also using Postgres? 

Do you have any other logs?


David Kimura PRO said about 9 years ago on FullCalendar Events and Scheduling :

Great to hear!


David Kimura PRO said about 9 years ago on Routing Partials :

Honestly, I've not done any benchmarking.

However, I would assume that if it is loading the route partials, it would add some kind of overhead. That being said, I would also argue that the overhead would be minimal.  Given the number of controllers that gitlab uses and its performance that i've experienced, any kind of overhead would be worth the added maintainability.

Also, I think that this would just be a valid point on a development environment. By default, if you were to change routes in production, you would have to restart the application to pick up the changes.


David Kimura PRO said about 9 years ago on Routing Partials :

In hindsight, you're right. Either way should work with the latter being more clear.