Sergey Nartimov
ddb5d2f756
force datetime attributes to be changed, fix GH #3965
2012-02-28 00:33:50 +03:00
Aaron Patterson
2adf78d335
removing dead code
2012-02-27 11:13:56 -08:00
Aaron Patterson
4bc2ae0da1
use bind values for join columns
2012-02-27 11:13:56 -08:00
Aaron Patterson
a4e4d2855b
Merge pull request #5191 from rafaelfranca/fix-393
...
Add a new line after the textarea opening tag.
2012-02-27 11:06:21 -08:00
Aaron Patterson
699e460be2
Merge pull request #5168 from kennyj/fix_5152
...
[PostgreSQL] Remove NULLS FIRST/LAST. Closes #5152
2012-02-27 10:27:08 -08:00
Aaron Patterson
a19dd29e55
Merge pull request #5173 from kennyj/fix_3931-2
...
Fix type_to_sql with text and limit on mysql/mysql2. Fix GH #3931 (Try again).
2012-02-27 10:21:18 -08:00
Aaron Patterson
9ad7767aba
Merge pull request #5179 from RalphShnelvar/Binary_mode_Window_bug
...
Binary mode window bug
2012-02-27 10:10:53 -08:00
Rafael Mendonça França
a6074c34e5
Add a new line after the textarea opening tag.
...
Closes #393
2012-02-27 13:52:55 -03:00
José Valim
4a631dfb12
Merge pull request #5192 from amatsuda/rdoc_task_19
...
no need to rescue when requiring 'rdoc/task' in Ruby >= 1.9
2012-02-27 06:01:03 -08:00
Akira Matsuda
20ca766954
ruby19: no need to rescue when requiring 'rdoc/task' in Ruby >= 1.9
2012-02-27 22:34:13 +09:00
José Valim
551566db06
Merge pull request #5185 from rafaelfranca/fix-collection_helpers
...
Fix collection helpers
2012-02-26 22:31:54 -08:00
Rafael Mendonça França
2ff884c748
Fix collection_check_boxes and collection_radio_buttons when using local
...
variables in the form builder
2012-02-26 19:35:51 -03:00
Rafael Mendonça França
80680e9f1e
Add documentation to object method of CollectionHelpers::Builder
2012-02-26 19:35:15 -03:00
Rafael Mendonça França
5979ad31fd
Move all the helpers to protected section
2012-02-26 19:04:05 -03:00
Xavier Noria
5c0aba238c
updates the new default pool size in some additional places
2012-02-26 12:51:13 -08:00
Xavier Noria
9b2c38b7bd
let the connection pool of new applications have size 1 rather than 5
...
The majority of Rails applications are multiprocess, people
may wonder why rails new generates a default pool of 5, does
my application need a connection pool of 5? By generating
a default of 1 database.yml is much more clear, and with
the comment people know what is the connection pool for,
and they know it has to be bigger for multithread apps.
2012-02-26 12:46:37 -08:00
Andrew White
74bc920e84
Adding tests for non-optional glob parameters
2012-02-26 00:33:15 +00:00
José Valim
cbe74cf024
Merge pull request #5174 from nashby/safe-concat
...
use content_tag instead of strings
2012-02-25 10:23:05 -08:00
Vasiliy Ermolovich
2bc879a43d
use content_tag instead strings
2012-02-25 21:05:33 +03:00
Vijay Dev
eecb086a8d
A guide for upgrading Rails [ci skip]
2012-02-25 23:09:21 +05:30
Vijay Dev
1e25d6217c
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
actionmailer/CHANGELOG.md
2012-02-25 21:52:59 +05:30
Vijay Dev
7940976dfd
copy-edits [ci skip]
2012-02-25 21:48:38 +05:30
kennyj
fe7cacb510
Fix type_to_sql with text and limit on mysql/mysql2. Fix GH #3931 .
2012-02-26 00:35:58 +09:00
José Valim
29054ba173
Merge pull request #5117 from nashby/form-option-refactor
...
FormOptionsHelper refactor
2012-02-25 06:05:23 -08:00
kennyj
404b73bce1
Remove NULLS FIRST/LAST. closes #5152
2012-02-25 23:01:43 +09:00
Xavier Noria
5196c075c0
Merge pull request #4023 from pacoguzman/update-changelogs
...
Update changelogs with rails 3.0-stable branch info
2012-02-25 05:02:44 -08:00
Paco Guzman
152a393d4f
Update changelogs with rails 3.0-stable branch info
2012-02-25 13:50:08 +01:00
José Valim
862e27fbbb
Merge pull request #5163 from kennyj/fix_5119
...
Remove wrong and redundant code.
2012-02-25 03:26:25 -08:00
kennyj
fd5a298a73
Remove wrong and redundant code.
2012-02-25 20:14:14 +09:00
José Valim
97df6f38c9
Merge pull request #5161 from arunagw/put_patch_build_fix
...
build fixed -- put and patch both are allowed for update
2012-02-24 21:49:53 -08:00
Arun Agrawal
d03076f206
put and patch both are allowed for update
2012-02-25 09:40:50 +05:30
Xavier Noria
84cd58f2ac
fixes a test: rake routes now includes PATCH for resources
2012-02-24 17:21:45 -08:00
Aaron Patterson
9ef701d659
use regular ruby for fewer method calls. we do not need 🎁 s!
2012-02-24 16:55:22 -08:00
Xavier Noria
3008188cd6
consistently mention first patch, then put
...
There was a mix, sometimes patch first, sometimes put first.
Use always patch first, since this is going to be the
primary verb for updates.
2012-02-24 16:35:48 -08:00
Xavier Noria
b7a094536d
uses PATCH for the forms of persisted records, and routes PATCH and PUT to the update action of resources
2012-02-24 16:25:41 -08:00
Xavier Noria
31ceb5e67b
decouples the implementation of the inflector from its test suite
...
Trying alternative implementations of the inflections
is hard because the suite is coupled with the current
one, setting ivars by hand etc. This commit relies on
initialize_dup, as long as you maintain that one you
can tweak the implementation.
2012-02-24 15:06:17 -08:00
Xavier Noria
004326ecea
removes the reconnect key from the database.yml generated for MySQL
...
The reconnect flag does not play nicely with transactions and so
it is of little use in Rails applications. Thus, albeit supported
by mysql2, it does not deserve such a prominent place in the
generated database.yml, which should be a representative config
example. Note that the flag is false by default.
Advanced users know from mysql2 docs that the flag is available.
2012-02-24 21:04:38 +01:00
Noah Hendrix
0519567e3d
Fixed typo in composed_of example with Money#<=>, was comparing amount itself instead of other_money.amount
2012-02-24 13:55:24 -06:00
Xavier Noria
5d70791ed0
explains why reconnect is false by default in the database.yml generated for MySQL
2012-02-24 18:50:51 +01:00
Xavier Noria
9d1f1b1ea9
removes verify_active_connections!
...
The method verify_active_connections! was used in
the old days (up to 2.1 I think) by the dispatcher
to verify the connections, but nowadays we do that
in a different way and this method is obsolete.
2012-02-24 09:11:59 -08:00
Aaron Patterson
e04fa0e589
Merge pull request #5144 from nashby/input-name-nil
...
correct fetching :name option in form fields
2012-02-24 08:42:52 -08:00
Justin Woodbridge
62b1f1a62d
Fix typo in match :to docs
2012-02-23 17:31:56 -05:00
Vijay Dev
335fac56b6
Merge pull request #5143 from mguterl/update_running_unit_tests_doc
...
Update with new task names for building mysql and postgresql databases
2012-02-23 11:59:27 -08:00
Vasiliy Ermolovich
f0a5d32537
correct fetching :name option in form fields
2012-02-23 22:04:09 +03:00
Michael Guterl
6c384a6d9f
Update with new task names for building mysql and postgresql databases
2012-02-23 09:49:48 -05:00
José Valim
af988ef5b0
Merge pull request #5139 from mhfs/remove_next_migration_number
...
Remove unused implementation of next_migration_number
2012-02-23 05:47:16 -08:00
Andrew White
5093915aae
Document the :host option for force_ssl
2012-02-23 13:35:15 +00:00
Santiago Pastorino
68a977e497
Merge pull request #5140 from fbuenemann/fix/autoflush-wrong-template
...
Move config.autoflush_log to correct template
2012-02-23 05:30:33 -08:00
Andrew White
c04a08470f
Update documentation for force_ssl - closes #5023 .
2012-02-23 13:25:13 +00:00
Pat Allan
ab838900f8
SSL should not be disabled by default in any environment.
2012-02-23 13:25:13 +00:00