Andrew White
Technical Director · Member of 1 project: Ruby on Rails
Andrew White's latest activity
Monday, March 21 2011
-
-
- Importance changed from to Low
Duplicate of #6479.
Strictly speaking criteria is the plural of criterion - your class name should be RecordCriterion. However this still doesn't work so you'll...
Saturday, March 19 2011
-
Andrew White commented at 6:48 AMAre you using :action as the dynamic segment name? If so Rails will try to find the action in the controller. The following path works for me:
match '*path', :...
-
Andrew White commented at 6:36 AMShouldn't it be in the global namespace? i.e. HomeController and not MyApp::HomeController.
-
- State changed from new to needs-more-info
- Importance changed from to Low
Need a bit more of your routes.rb file to see what's happening - to get the '/articles/:id' part of the path the resources call needs to be wrapped with somethi...
Sunday, March 13 2011
-
Andrew White commented at 10:12 AMIt's actually a non-change :)
I'm not sure what you're to achieve - the validates_associated will ensure :assistant_teacher is valid if it's present. If you're ...
Saturday, March 12 2011
Friday, March 11 2011
-
- State changed from new to duplicate
- Importance changed from to Low
This is a duplicate of #5383 - if you rewrite your class definitions so that they're not inline everything will work, e.g:
module Admin class UsersController...
-
- State changed from new to open
- Milestone set to 3.0.6
- Assigned user set to Andrew White
- Importance changed from to Low
A good place to start would be the empty? method declaration in ActiveRecord::Relation - it does a count.zero? which because you're grouping returns an ordered ...