Commit Graph

22656 Commits

Author SHA1 Message Date
Santiago Pastorino
0a070a2444 Run bundle install once when using plugin_new --full --mountable. Closes #555 2011-05-17 18:29:20 -04:00
Aaron Patterson
a898df66e4 bumping arel requirement 2011-05-17 18:05:27 -04:00
José Valim
6d3122445c Ensure Set-Cookie is not set on assets. 2011-05-17 17:44:06 -04:00
Andrew White
f3b0be812e Don't pass a block as we are yielding 2011-05-17 22:33:36 +01:00
José Valim
324f1451b0 Dump and load rack-cache stuff. 2011-05-17 17:33:17 -04:00
Jeremy Kemper
b77e032ccf Merge pull request #247 from goncalossilva/performance_test
Performance tests improved
2011-05-17 14:28:40 -07:00
Joshua Peek
1d8d799a01 Bump sprockets dependency 2011-05-17 17:20:27 -04:00
Joshua Peek
59baf2fc9c Remove old call to sprockets context 2011-05-17 17:19:33 -04:00
Andrew White
3773aa4fbb Add block setting of attributes to singular associations 2011-05-17 22:16:24 +01:00
José Valim
be199a1d53 Add a test case for issue #476. 2011-05-17 16:52:12 -04:00
Andrew White
42f1ad6865 Pass the attribute and option hashes to build_association
The build_association method was added as an API for plugins
to hook into in 1398db0. This commit restores this API and the
ability to override class.new to return a subclass based on
a virtual attribute in the attributes hash.
2011-05-17 20:43:30 +01:00
José Valim
b81f77e2e2 Merge pull request #1093 from lucasmazza/patch-1
Using the correct CSS compressor for the yui-compressor gem.
2011-05-17 11:58:19 -07:00
José Valim
760dec17be Use anonymous? that works on both Ruby 1.8 and 1.9. 2011-05-17 14:51:44 -04:00
José Valim
1d71c93f99 Merge pull request #1104 from colinyoung/master
Update Chicago mayor
2011-05-17 11:29:56 -07:00
José Valim
442ed8c92c Merge pull request #1106 from vatrai/user_instruct
instruct user to install using Gem file in database.yml template
2011-05-17 11:13:50 -07:00
Vishnu Atrai
0e1e831ecb instruct user to install using Gem file in database.yml templete issue #1103 2011-05-17 23:36:07 +05:30
José Valim
f1e1e7658b Merge pull request #1090 from dchelimsky/issue-1089
3.1: params_wrapper raises error on anynomous controllers
2011-05-17 10:58:06 -07:00
José Valim
f627da15f4 Merge pull request #1105 from kevmoo/b1103
For Issue #1103 - Fix for sqlite3.yml, mysql.yml
2011-05-17 10:49:15 -07:00
Kevin Moore
523bac6dba Fix for sqlite3.yml, mysql.yml 2011-05-17 10:30:54 -07:00
Colin Young
5f19c42eb7 Updated seeds.rb file. 2011-05-17 12:30:04 -05:00
Jon Leighton
2b786ba215 Merge pull request #1100 from arunagw/innerjoin_test
Fixed InnerJoinAssociationTest. Need to load essays fixture.
2011-05-17 10:04:56 -07:00
Michael Koziarski
fbab6f959b Don't print deprecation warnings every time the user reads or writes an inheritable attribute. The warnings on declaration is enough. 2011-05-17 12:03:58 -04:00
Arun Agrawal
ed119aa5d6 Fixed InnerJoinAssociationTest. Need to load essays fixture. 2011-05-17 20:29:28 +05:30
José Valim
ab9639f945 Merge pull request #1099 from dlee/optimize_indifferent_access
Optimize parts of HashWithIndifferentAccess
2011-05-17 05:33:48 -07:00
José Valim
a52dc0d9cc Fixes failing test, closes #1098. 2011-05-17 05:32:14 -07:00
David Chelimsky
13950a8cc9 add more robust test for wrapping params with anonymous class 2011-05-17 06:57:14 -04:00
Andy Lindeman
ee82e1c301 Add fix for error when an anonymous controller subclasses ApplicationController 2011-05-17 06:57:04 -04:00
David Chelimsky
14d5e3e459 better test name 2011-05-17 06:56:53 -04:00
David Chelimsky
29e8ca3698 add failing test for https://github.com/rails/rails/issues/1089 2011-05-17 06:56:46 -04:00
David Lee
94617d7da1 Optimize parts of HashWithIndifferentAccess 2011-05-17 03:01:31 -07:00
Jon Leighton
b0385fe1b2 Merge pull request #1095 from guilleiguaran/fix_join_model_test
Adding missing require to join_model_test
2011-05-17 00:09:16 -07:00
Guillermo Iguaran
2c89ed9ad6 Adding missing require 2011-05-16 22:22:27 -05:00
Jon Leighton
2033ff825b Merge pull request #560 from guilleiguaran/fix_pluralize_table_names_false
Fixing has_many when ActiveRecord::Base.pluralize_table_names is false
2011-05-16 15:40:12 -07:00
Lucas Mazza
79249f590d Using the correct CSS compressor for the yui-compressor gem. 2011-05-16 15:19:44 -07:00
Xavier Noria
bf5e4b4c1f configuratin guide: finished a pass to the "Rails General Configuration" section 2011-05-16 23:55:19 +02:00
José Valim
6733721520 Deprecate attr_accessor_with_default. 2011-05-16 11:31:34 -04:00
José Valim
40fa51123d Merge pull request #1087 from amatsuda/generate_number_field_tag
generate HTML5 number_field tag for integer fields
2011-05-16 07:54:02 -07:00
Akira Matsuda
4d1752bfb2 generate HTML5 number_field tag for integer fields 2011-05-16 23:45:39 +09:00
José Valim
12a4376ae9 Merge pull request #1085 from amatsuda/amo_validator_initializer_cleanup
cleanups on AMo validator initializers
2011-05-16 04:23:44 -07:00
Akira Matsuda
35c5ccb30c Remove unneeded merge with default false options 2011-05-16 15:37:44 +09:00
Akira Matsuda
cbe1d2488b Don't add DEFAULT_TOKENIZER to every instance of LengthValidator. Just use it only when needed. 2011-05-16 15:37:44 +09:00
José Valim
8b0262f953 Merge pull request #573 from smartinez87/attr
Add doc to #attribute_names
2011-05-15 19:48:03 -07:00
Sebastian Martinez
2470392e89 Add doc to #attribute_names 2011-05-15 21:33:49 -03:00
José Valim
d043d65396 Merge pull request #570 from sikachu/decouple_actionpack
Make ParamsWrapper use a well-defined API and not rely on AR methods
2011-05-15 16:13:29 -07:00
Prem Sichanugrist
d77b306b63 Make ParamsWrapper calling newly introduced Model.attribute_names instead of .column_names 2011-05-15 19:07:44 -04:00
Prem Sichanugrist
5ca67eca21 Add ActiveRecord::attribute_names to retrieve a list of attribute names. This method will also return an empty array on an abstract class or a model that the table doesn't exists. 2011-05-15 19:07:40 -04:00
José Valim
6e581cce1c Merge pull request #568 from carlosantoniodasilva/fields_for_fixes
Fields for fixes for non nested attributes and without object
2011-05-15 15:51:20 -07:00
Xavier Noria
dde82a44d7 Merge branch 'master' of git://github.com/lifo/docrails 2011-05-15 22:23:40 +02:00
Xavier Noria
3448288228 reviewed the first ~70 lines of the configuration guide 2011-05-15 22:22:31 +02:00
Pirogov Evgenij
6bd99ecb62 Use more English language 2011-05-15 10:25:33 -07:00