Displaying 3 results from an estimated 3 matches for "tmp_pre_upd".
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...ality has been moved to the service layer
- # pre_new
- # pre_create
- # pre_edit
- # pre_show
- # authorize_admin
- before_filter :pre_new, :only => [:new]
- before_filter :pre_create, :only => [:create]
- # the following is to facilitate transition to service layer
- before_filter :tmp_pre_update, :only => [:edit, :update, :destroy]
- before_filter :pre_show, :only => [:show]
- before_filter :tmp_authorize_admin, :only => [:new, :edit, :create, :update, :destroy]
before_filter :is_logged_in, :get_help_section
# General error handlers, must be in order from least specif...
2009 May 19
1
re-sending outstanding controller refactoring patches after rebase
I've rebased the patch series to the current next branch and am sending them again.
2009 May 15
0
[PATCH server] use service layer for Network controller.
...- @static_boot_type = BootType.find(:first,
- :conditions => { :proto => 'static' })
- end
+ # FIXME: remove these when service transition is complete. these are here
+ # to keep from running permissions checks and other setup steps twice
+ def tmp_pre_update
+ end
+ def tmp_authorize_admin
+ end
end
diff --git a/src/app/models/ip_address.rb b/src/app/models/ip_address.rb
index 5d2e6af..4e4c7d3 100644
--- a/src/app/models/ip_address.rb
+++ b/src/app/models/ip_address.rb
@@ -24,4 +24,15 @@ class IpAddress < ActiveRecord::Base
belongs_to :...