Commit Graph

6 Commits

Author SHA1 Message Date
Andy Waite
62e94f5b06 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
2016-02-07 20:32:22 +00:00
Andy Waite
e97e0d097c Remove respond_with snippet
This is no longer part of Rails, it's now handled by the responders gem.
http://weblog.rubyonrails.org/2014/8/20/Rails-4-2-beta1/
2016-02-07 20:31:05 +00:00
Andy Waite
16e922e7fe Use update rather than `update_attributes
`update_attributes` is deprecated:
https://github.com/rails/rails/pull/6739
2016-02-07 20:28:55 +00:00
Andy Waite
31b2fe023a Change Rails snippet triggers
At present, `cla` maps to both Create Controller Class and Create
Functional Test class.

Using `cla` for creating a controller seems overly-general, since we may
want triggers for other types of classes, e.g. models. So I propose
changing this to `clac`.

And to remove ambiguity, I propose using `clact` for the controller test.
2016-02-07 14:54:19 +00:00
Holger Rapp
59dcc2b72d Brings current UltiSnips snippets into the repository. 2014-03-04 09:17:27 +01:00
Marc Weber
d07009f27f Adding UltiSnips snippets, updating Readme
UltiSnips snippets are taken from UltiSnips repo.
Putting them nearby the engine seems to be the wrong thing to do.
One reason is that there are two forks now.
2013-03-17 20:13:47 +01:00