Commit Graph

194 Commits

Author SHA1 Message Date
David Lee
002713c645 Add config.default_method_for_update to support PATCH
PATCH is the correct HTML verb to map to the #update action. The
semantics for PATCH allows for partial updates, whereas PUT requires a
complete replacement.

Changes:
* adds config.default_method_for_update you can set to :patch
* optionally use PATCH instead of PUT in resource routes and forms
* adds the #patch verb to routes to detect PATCH requests
* adds #patch? to Request
* changes documentation and comments to indicate support for PATCH

This change maintains complete backwards compatibility by keeping :put
as the default for config.default_method_for_update.
2012-02-22 08:47:10 -08:00
Sergey Nartimov
c075ca4600 use rack 1.4.1 2012-01-23 10:23:02 +03:00
Sergey Nartimov
23cb3d2f09 use rack from master branch
it's needed until new rack release with Rack::BodyProxy fixes
b06ef82876
2012-01-16 14:42:23 +03:00
Manu J
6248a20fed Remove MRI 1.8 specific gems 2012-01-13 22:43:31 +05:30
Bogdan Gusiev
c4ceee8316 Fixed path to local gemfile. 2012-01-02 15:08:37 +02:00
Aaron Patterson
d6d774063d switch to git journey 2011-12-21 13:56:20 -07:00
Arun Agrawal
ec26dd007a No need to check here now for < 1.9.3 2011-12-21 00:47:48 +05:30
Xavier Noria
dbfc6b8b3a removes Ruby constraint in RedCloth dependency 2011-12-15 15:22:14 -08:00
Aaron Patterson
b6105b0b59 updating arel and journey dependencies 2011-12-14 13:26:49 -08:00
Xavier Noria
800252ca71 let sdoc say which version of rdoc we depend on 2011-12-14 22:23:17 +01:00
Erik Michaels-Ober
3ffa01c426 Make quotes in Gemfile consistent (use single quotes) 2011-12-12 08:16:54 -08:00
Erik Michaels-Ober
efc74f5638 Use HTTPS rubygems source 2011-12-12 08:16:38 -08:00
José Valim
0008918059 Remove rb-fsevent from Gemfile. 2011-12-08 16:39:06 +01:00
Xavier Noria
4936fc35a0 use our own fork of sdoc while Vijay's fix is not applied to voloko/sdoc 2011-12-08 04:57:09 -08:00
Arun Agrawal
ac4763f5c0 SQlite3 Bump 2011-12-04 10:27:44 +05:30
Jon Leighton
3f23c049c2 Enable postgres on the CI ❤️ 🍺 2011-12-03 20:09:43 +00:00
Arun Agrawal
13847ccb43 Bump Mysql2! 2011-11-22 18:47:27 +05:30
Aaron Patterson
a437986f43 allow people to set a local .Gemfile so that things like ruby-debug are not required for regular development 2011-11-17 14:41:53 -08:00
Aaron Patterson
df5ec41b89 bundler treats trunk ruby as ruby 1.9, hack around that for now 2011-11-16 10:42:56 -08:00
Santiago Pastorino
df300a754b Allow to use ruby-debug in 1.9.3 2011-11-12 15:16:53 -02:00
Jon Leighton
562583c766 Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL query 2011-11-05 16:22:18 +00:00
Arun Agrawal
c930170581 No need to check ruby version here
As rake 0.9.2.2 is out with the same 
fix as 0.9.3.beta having
2011-10-22 22:29:38 +05:30
Yasuo Honda
8cc70cf32a Fix typo in Rakefile 2011-10-03 11:56:11 -04:00
Yasuo Honda
b564ffcad4 To support ActiveRecord unit tests for IBM DB2 2011-10-02 22:51:01 -04:00
Terence Lee
1de89e5e07 AR wants sqlite3 1.3.4 2011-09-22 20:01:57 +02:00
Arun Agrawal
b2bf725d79 Bump AR-JDBC version.
THis version is compatible with 3.1 and above
2011-09-17 18:39:30 +05:30
Aaron Patterson
5f0b37c486 Switching rack-mount to journey. 2011-09-12 16:50:47 -07:00
Arun Agrawal
5e35d62cf5 Uglifier bump 2011-09-05 15:07:45 +05:30
Guillermo Iguaran
6779064437 Remove hard dependency on bcrypt. 2011-09-02 10:01:47 -07:00
Xavier Noria
827a0fee07 use sdoc to generate the API 2011-08-27 03:55:01 -07:00
Santiago Pastorino
43e581ef7f Use rake >= 0.9.3.beta.1 in Ruby 1.9.3 2011-08-06 09:16:17 -03:00
Santiago Pastorino
8962e96e39 This dep is already defined in activerecord.gemspec 2011-08-03 18:15:14 -03:00
Mitesh Jain
fe37b48f28 Bringing back the jquery-rails. One test is dependent. 2011-07-24 19:18:49 +05:30
Santiago Pastorino
410e75419d Remove unused gems from Gemfile 2011-07-23 18:38:42 -03:00
zhengjia
74eb8486da remove ruby-prof for rubinius in Gemfile 2011-07-22 07:55:48 -05:00
Josh Kalderimis
d664eba5b4 Added a .travis.yml config and travis specific ci script.
Don't install ruby-debug if running the test suite on Travis,
linecache19 is the main offender, very very slow.

And do not install pg if Travis is bundling the gems, pg will be setup
on Travis soon.
2011-07-15 10:47:50 +02:00
José Valim
2a24bcc6cf Don't raise on mass assignment for test 2011-07-07 18:58:04 -03:00
José Valim
2f6e3895a8 Make compressors lazily load. 2011-07-06 21:41:13 -03:00
Vijay Dev
8b25b55755 add w3c_validators gem to the doc group to fix failing validation of guides 2011-07-04 17:12:25 +05:30
Guillermo Iguaran
1c23887ab0 Bump ARel to 2.1.3 2011-06-27 15:58:40 -05:00
Guillermo Iguaran
d759d19507 Use uglifier from rubygems instead of git repo 2011-06-21 10:59:48 -05:00
Arun Agrawal
41aba82673 Removing require_relative gem. Linecache new version 0.46 is out and it's loading rbx-require-relative > 0.0.4 2011-06-19 15:05:38 +05:30
Guillermo Iguaran
301cad4476 Bump to mysql2 0.3.6 2011-06-17 11:27:37 -05:00
Alexey Gaziev
171491b1eb Change version of nokogiri gem 2011-06-17 01:01:49 +04:00
Arun Agrawal
536e1566b6 Bump mysql2 to 0.3.5 2011-06-16 10:45:58 +05:30
Santiago Pastorino and José Ignacio Costa
e445a79562 Bump mysql2 up 2011-06-16 01:05:45 -03:00
Jon Leighton
954359b9c2 Add Gemfile dependency for require_relative on mri18. This is a dependency of linecache which is a dependency of ruby-debug. However, the latest release of linecache (0.45) omits the dependency from its gemspec, causing the build to fail. I have emailed the maintainer so we should remove this when it's fixed upstream. 2011-06-13 22:18:31 +01:00
Santiago Pastorino
f2f63bf2ff ruby-prof doesn't work in 1.9.3 2011-06-08 00:25:57 -03:00
Daniel Schierbeck
ef8c2a89a5 Also use double quotes for #source 2011-05-24 13:29:29 -07:00
Daniel Schierbeck
962936c56b Use quotes consistently in Gemfile 2011-05-24 13:27:43 -07:00