Permalink
Browse files

adding ransack method to Upmin::Klass

  • Loading branch information...
joncalhoun committed Sep 8, 2014
1 parent a08e5c5 commit 9ae8c54f00bb41489269d29ddde2127427b46fe6
Showing with 6 additions and 2 deletions.
  1. +4 −0 lib/upmin/klass.rb
  2. +1 −1 lib/upmin/version.rb
  3. +1 −1 todo.md
View
@@ -18,6 +18,10 @@ def find(*args)
return Upmin::Model.new(model.find(*args))
end
def ransack(*args)
return model.ransack(*args)
end
# Returns all of the upmin attributes for the ActiveRecord model
# referenced by this Klass object.
View
@@ -1,3 +1,3 @@
module Upmin
VERSION = "0.0.34300000000000000000637"
VERSION = "0.0.34300000000000000000638"
end
View
@@ -19,7 +19,7 @@ Shooting for a launch by Sep 5. Who knows.
# 0.0.35 Alpha (maybe beta?) Release
- [ ] Clean up the code (a lot)!
- [ ] Nodes should probably be replaced. They aren't really necessary in the current version and could be replaced with a nice clean implementation of `Upmin::Model` and `Upmin::ModelInstance`
- [x] Nodes should probably be replaced. They aren't really necessary in the current version and could be replaced with a nice clean implementation of `Upmin::Model` and `Upmin::ModelInstance`
- [ ] Things like `product_id` probably shouldn't be shown on forms when the relation is shown as well.

0 comments on commit 9ae8c54

Please sign in to comment.