Commit Graph

24266 Commits

Author SHA1 Message Date
Vishnu Atrai
b50dfce601 pluging generator test fix 2011-08-13 16:22:22 -07:00
Santiago Pastorino
60f593dc54 Tidy up a bit plugin new gemspec 2011-08-13 16:22:22 -07:00
Dan Gebhardt
47cc214600 Moved dependencies from Gemfile to gemspec to eliminate redundant declarations. 2011-08-13 16:22:22 -07:00
Dan Gebhardt
f9eadb8b43 Extracted version from gemspec and placed it in its own file. This is consistent with the approach taken by "bundle gem", and is expected by gems such as svenfuchs/gem-release which can be used to bump / tag versions of gems. 2011-08-13 16:22:22 -07:00
Dan Gebhardt
b82e226b7f Expanded meta-data in gemspec to include author, email, etc.; Defaults include "TODO" to prevent gems from being built without review. 2011-08-13 16:22:22 -07:00
Jon Leighton
bec5977932 Revert "Merge pull request #2309 from smasry/master"
This reverts commit 9d396ee819, reversing
changes made to fa2bfd832c.

Reason: the change broke the build.
2011-08-13 16:22:22 -07:00
José Valim
66fdfbc2d5 Update CHANGELOG. 2011-08-13 16:22:21 -07:00
José Valim
554ea3c37b Move the cache to a nested hash which performs better than a hash with array as keys. 2011-08-13 16:22:21 -07:00
José Valim
91ca214ca0 Rename class method to_path to _to_path and make it explicit that it is an internal method. 2011-08-13 16:22:21 -07:00
Grant Hutchins & Peter Jaros
6e671a8536 Let ActiveModel instances define partial paths.
Deprecate ActiveModel::Name#partial_path. Now you
should call #to_path directly on ActiveModel
instances.
2011-08-13 16:22:21 -07:00
Joshua Peek
a636a9358e Make Rails.application.assets available in initializers 2011-08-13 16:22:21 -07:00
Xavier Noria
f76e689f00 contrib app minor tweak 2011-08-13 16:22:21 -07:00
Samer Masry
c751bb1ac2 Reverse order fix when using function for ActiveRecord::QueryMethods Fixes #1697 2011-08-13 16:22:20 -07:00
thedarkone
45f9c2b361 Handle the empty array correctly. 2011-08-13 16:22:20 -07:00
Christos Zisopoulos
035d31bd93 Improve performance and memory usage for options_for_select with Ruby 1.8.7 2011-08-13 16:22:20 -07:00
Dmitriy Kiriyenko
4c873cbf36 Fixed failing query when performing calculation with having based on select. 2011-08-13 16:22:20 -07:00
Jon Leighton
05f1a9bcc3 Add a proxy_association method to association proxies, which can be called by association extensions to access information about the association. This replaces proxy_owner etc with proxy_association.owner. 2011-08-13 16:22:20 -07:00
Lachlan Sylvester
924975a34a fix some types in schema_test.rb 2011-08-13 16:22:20 -07:00
Aaron Patterson
ed09aef1a3 simplify conditionals by assuming hash values will never be false 2011-08-13 16:22:19 -07:00
Aaron Patterson
a704fd4ea9 use regular ruby rather than clever ruby 2011-08-13 16:22:19 -07:00
Aaron Patterson
f445bb2671 fixing wildcard path matching when wildcard is inside parenthesis 2011-08-13 16:22:19 -07:00
Jonathan del Strother
ab422b04a2 Replace unnecessary regexp in Dependencies#load_missing_constant 2011-08-13 16:22:19 -07:00
Jonathan del Strother
f1403f9303 Constantize a regexp in Dependencies#load_missing_constant 2011-08-13 16:22:19 -07:00
Santiago Pastorino
1d64041d59 Remove blank line 2011-08-13 16:22:19 -07:00
thoefer
39183f4ede refactored 'assert_redirected_to': local call to validate_request! will be called in assert_response already. changed names of local variables in order to recognize the semantics a bit easier. 2011-08-13 16:22:18 -07:00
Santiago Pastorino
b36a710e71 Remove cruise files 2011-08-13 16:22:18 -07:00
Dan Gebhardt
28daa8bd4b added test case for fix to issue #2094 2011-08-13 16:22:18 -07:00
Dan Gebhardt
f87b33daaf fixed problem in which options[:html][:remote] would be overridden in form_for() - fixes #2094 2011-08-13 16:22:18 -07:00
Vishnu Atrai
d13b5d4b2a remove unused variables warnings removed 2011-08-13 16:22:18 -07:00
Josh Kalderimis
7b2d5e0d92 enable Travis CI irc notifications to #rails-contrib on irc.freenode.org 2011-08-13 16:22:18 -07:00
Vishnu Atrai
745d90bde3 remove deprication warning: ambiguous first argument; put parentheses or even spaces 2011-08-13 16:22:17 -07:00
Aaron Patterson
797d2254d7 fixing tests on ruby trunk 2011-08-13 16:22:17 -07:00
Aaron Patterson
7934ffe5e9 fixing whitespace errors 2011-08-13 16:22:17 -07:00
Vishnu Atrai
5a92c6627e remove deprication warning for ruby 1.9.3-head for unused variables 2011-08-13 16:22:17 -07:00
Damien Mathieu
838ec4b645 use sprocket's append_path and assert_match 2011-08-13 16:22:17 -07:00
Piotr Sarnacki
182a428418 Revert "allow select to have multiple arguments"
This reverts commit 04cc446d17.

I reverted it because apparently we want to use: select([:a, :b])
instead of select(:a, :b), but there was no tests for that form.
2011-08-13 16:22:17 -07:00
Sławosz Sławiński
e7f7439d06 allow select to have multiple arguments 2011-08-13 16:22:16 -07:00
Franck Verrot
5004aaffc1 Simplify the test by using id and name. id will be the only real sort criteria in any case as it's unique. 2011-08-13 16:22:16 -07:00
Santiago Pastorino
16e3c40426 use_sprockets is not used anymore 2011-08-13 16:22:16 -07:00
Santiago Pastorino
33ee3898ef Bump sprockets up 2011-08-13 16:22:16 -07:00
Santiago Pastorino
34ca9c122c Check that Rack::Sendfile is not included unless config.action_dispatch.x_sendfile_header is set 2011-08-13 16:22:16 -07:00
Santiago Pastorino
cd5f54cfb6 Bump rack up. Closes #2107 2011-08-13 16:22:16 -07:00
Erik Michaels-Ober
6d4f916218 Add documentation for :format => true 2011-08-13 16:22:15 -07:00
Erik Michaels-Ober
710c5eaf2f Allow a route to have :format => true
When format is true, it is mandatory (as opposed to :format => false).
This is currently not possible with resource routes, which automatically
make format optional by default.
2011-08-13 16:22:15 -07:00
Santiago Pastorino
5b5b22acb5 Remove unused use_sprockets config 2011-08-13 16:22:15 -07:00
Santiago Pastorino
19ac034bdc Don't use Rack::Sendfile middleware if x_sendfile_header is not present 2011-08-13 16:22:15 -07:00
Xavier Noria
b537595665 Revert "Explicitly included hashes in sentence regarding SQL-injection-safe forms"
Reason: The hash form is secure, and preferred over the array form if possible.

This reverts commit 6dc749596c.
2011-08-13 16:22:15 -07:00
Xavier Noria
19122e767c Revert "grammatical changes"
Reason: As discussed in GitHub, it is debatable, and present tense
is fine (and simple, and preferred).

This reverts commit 54ccda9f0a5e4a5e72a4c159dc8787faaf65e8a2.
2011-08-13 16:22:15 -07:00
Rashmi Yadav
111347f0cc The trailing '/' isn't being picked up by Github anyway, and the link works as is. 2011-08-13 16:22:15 -07:00
Waynn Lue
0012a9e9d4 The trailing '/' isn't being picked up by Github anyway, and the link works as is. 2011-08-13 16:22:14 -07:00