From 62e94f5b06e76fac02cb81e7cd0cdac42ac1f49b Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Sun, 7 Feb 2016 20:32:22 +0000 Subject: [PATCH] Remove snippet for deprecated `find(:all)` This was removed in Rails 4. http://blog.remarkablelabs.com/2012/12/what-s-new-in-active-record-rails-4-countdown-to-2013 --- UltiSnips/rails.snippets | 4 ---- 1 file changed, 4 deletions(-) diff --git a/UltiSnips/rails.snippets b/UltiSnips/rails.snippets index d08739f..e7b2757 100644 --- a/UltiSnips/rails.snippets +++ b/UltiSnips/rails.snippets @@ -793,10 +793,6 @@ snippet xput "xhr put" xhr :put, :${1:update}, :id => ${2:1}, :${3:object} => { $4 }$0 endsnippet -snippet finl "find(:last)" -find(:last${1:, :conditions => ['${2:${3:field} = ?}', ${5:true}]}) -endsnippet - snippet sweeper "Create sweeper class" class ${1:Model}Sweeper < ActionController::Caching::Sweeper observe ${1:Model}