Ryan Bigg

Results 252 comments of Ryan Bigg

I think it's a bug. If both values are `nil`, why would you want to use this method?

I think that's your best bet. You could also do that a bit shorter: ```ruby def expenses_for_normal_user(start_date, end_date) expenses = current_user.expenses.where(active: true) return expenses if start_date.blank? && end_date.blank? expenses.between_dates(start_date, end_date)...

I agree that both of these should return the default scope. Please submit a patch to that effect.

I was able to fix this in the app by replacing the variable calls with fetch calls: fetch(:puma_socket) On Fri, Nov 29, 2013 at 8:07 PM, Tobias Sandelius [email protected] wrote:...

@sandelius Could you please try out my fork and let me know if that fixes the problem for you?

Oh wow, this is a great idea :) Thanks amatsuda!

They only auto include when you call page. On 13/02/2012, at 20:12, Philip [email protected] wrote: > Just Yet Another Idea but it would be nice if both libraries did not...

'sactly. It's hard at the moment to tell what model will do what when page is called and both of these things are installed. On 13/02/2012, at 22:07, Philip [email protected]...

Should this perhaps be filed on https://github.com/npm/node-which instead?