Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds line to change log and update documentation. | Sergio Arbeo | 2012-03-07 | 2 | -0/+39 |
| | |||||
* | Adds :layout option to render :partial when a collection is given. | Sergio Arbeo | 2012-03-06 | 3 | -1/+14 |
| | |||||
* | Merge pull request #5290 from steveklabnik/master | José Valim | 2012-03-05 | 2 | -3/+9 |
|\ | | | | | Added parsing of arbitrary media type parameters. | ||||
| * | Added parsing of arbitrary media type parameters. | Steve Klabnik | 2012-03-05 | 2 | -3/+9 |
| | | | | | | | | | | | | Based on #4918. Related to #4127. | ||||
* | | Add config.middleware.api_only! | Carlos Antonio da Silva and Santiago Pastorino | 2012-03-05 | 3 | -4/+42 |
| | | |||||
* | | Merge pull request #5288 from lest/patch-2 | José Valim | 2012-03-05 | 2 | -0/+17 |
|\ \ | | | | | | | force response body to be read in assert_template | ||||
| * | | force response body to be read in assert_template | Sergey Nartimov | 2012-03-05 | 2 | -0/+17 |
|/ / | |||||
* | | Fix #5069 - Protect foreign key from mass assignment throught association ↵ | Jean Boussier | 2012-03-05 | 3 | -1/+40 |
| | | | | | | | | builder | ||||
* | | Merge pull request #5274 from tigrish/master | José Valim | 2012-03-05 | 2 | -1/+20 |
|\ \ | | | | | | | Update I18n defaults for activerecord.errors.messages.record_invalid | ||||
| * | | Tweak ↵ | Christopher Dell | 2012-03-05 | 1 | -1/+2 |
| | | | | | | | | | | | | activerecord/test/cases/validations/i18n_generate_message_validation_test.rb | ||||
| * | | Test that RecordInvalid exception's translation falls back to the :errors ↵ | Christopher Dell | 2012-03-05 | 1 | -0/+18 |
| | | | | | | | | | | | | namespace | ||||
| * | | Allow translations of activerecord.errors.messages.record_invalid to be ↵ | Christopher Dell | 2012-03-05 | 1 | -1/+1 |
| | | | | | | | | | | | | looked up in errors.messages.record_invalid | ||||
* | | | Merge pull request #5281 from filipeamoreira/patch-1 | Vijay Dev | 2012-03-05 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Small typo fix | ||||
| * | | | Small typo fix | Filipe Moreira | 2012-03-05 | 1 | -1/+1 |
| | | | | |||||
* | | | | minor corrections in AMo::Model docs [ci skip] | Vijay Dev | 2012-03-05 | 2 | -5/+5 |
| | | | | |||||
* | | | | document the shortcut to the root route helper [ci skip] | Vijay Dev | 2012-03-05 | 2 | -0/+3 |
| |_|/ |/| | | | | | | | | This was implemented in 2ee4dd856d47113625589bc5410b5a6669ea02d5 | ||||
* | | | Fix typo | Santiago Pastorino | 2012-03-05 | 1 | -1/+1 |
|/ / | |||||
* | | Add a new guide for API-only applications | Jose and Yehuda | 2012-03-04 | 1 | -0/+277 |
| | | | | | | | | | | This guide reflects features that have not yet been implemented. | ||||
* | | Merge pull request #5277 from rafaelfranca/fix-build | Michael Koziarski | 2012-03-04 | 1 | -0/+1 |
|\ \ | | | | | | | Now all the models need to explicitly declare the accessible attributes | ||||
| * | | Now all the models need to explicitly declare the accessible attributes | Rafael Mendonça França | 2012-03-04 | 1 | -0/+1 |
|/ / | |||||
* | | Merge pull request #5275 from rafaelfranca/master | Jon Leighton | 2012-03-04 | 3 | -2/+11 |
|\ \ | | | | | | | Only add the whitelist_attributes option if ActiveRecord is present | ||||
| * | | Only add the whitelist_attributes option if ActiveRecord is present | Rafael Mendonça França | 2012-03-04 | 3 | -2/+11 |
|/ / | |||||
* | | Whitelist all attribute assignment by default. | Michael Koziarski | 2012-03-05 | 4 | -1/+20 |
| | | | | | | | | Change the default for newly generated applications to whitelist all attribute assignment. Also update the generated model classes so users are reminded of the importance of attr_accessible. | ||||
* | | Fix tests, table_name= needs connection now, so just stub table_name | Piotr Sarnacki | 2012-03-04 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #5271 from carlosantoniodasilva/ar-fix-build | José Valim | 2012-03-04 | 2 | -2/+2 |
|\ \ | |/ |/| | Fix message assertions for quoting database name in "show tables" for mysql | ||||
| * | Fix message assertions for quoting database name in "show tables" for mysql | Carlos Antonio da Silva | 2012-03-04 | 2 | -2/+2 |
|/ | |||||
* | Merge pull request #5268 from carlosantoniodasilva/ar-new-record-warning | Jon Leighton | 2012-03-04 | 3 | -1/+10 |
|\ | | | | | Fix ActiveRecord warning in tests with Marshal | ||||
| * | Initialize @stale_state to nil in association | Carlos Antonio da Silva | 2012-03-04 | 3 | -6/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This apparently fix the warning related to @new_record variable not being initialized in AR's test suit, when an association is built and the object is marshalled/loaded. See these tests in AR's base_test.rb: test_marshalling_with_associations test_marshalling_new_record_round_trip_with_associations Closes #3720. | ||||
| * | Added test case for new_record round trip with associations problem | kennyj | 2012-03-04 | 1 | -0/+14 |
| | | |||||
* | | remove troll | Jon Leighton | 2012-03-04 | 1 | -3/+0 |
| | | |||||
* | | tidy up formatting | Jon Leighton | 2012-03-04 | 1 | -10/+11 |
| | | |||||
* | | Merge pull request #5267 from kennyj/fix_4674 | Jon Leighton | 2012-03-04 | 2 | -5/+38 |
|\ \ | | | | | | | Fix GH #4674. Reset column information and sequence name when setting table_name. | ||||
| * | | Don't clear sequence name when we explicitly assign it. | kennyj | 2012-03-04 | 2 | -2/+15 |
| | | | |||||
| * | | Fix GH #4674. Reset column information and sequence name when setting ↵ | kennyj | 2012-03-04 | 2 | -4/+24 |
| | | | | | | | | | | | | table_name. | ||||
* | | | wow how come I commit in master? O_o | homa | 2012-03-04 | 1 | -0/+3 |
| | | | |||||
* | | | Merge pull request #5269 from ↵ | Piotr Sarnacki | 2012-03-04 | 1 | -1/+0 |
|\ \ \ | | | | | | | | | | | | | | | | | castlerock/remove_unwanted_require_karnel_reporting AS/kernel/reporting no where used in ts_isolated | ||||
| * | | | AS/kernel/reporting no where used in ts_isolated | Vishnu Atrai | 2012-03-04 | 1 | -1/+0 |
| |/ / | |||||
* | | | Merge pull request #5266 from bcardarella/root_with_string_options | Piotr Sarnacki | 2012-03-04 | 2 | -0/+14 |
|\ \ \ | | | | | | | | | Route root helper shortcut | ||||
| * | | | Route root helper shortcut | Brian Cardarella | 2012-03-03 | 2 | -0/+14 |
| | | | | | | | | | | | | | | | | Allow the root route helper to accept just a string | ||||
* | | | | Merge pull request #5270 from kennyj/fix_3163 | Piotr Sarnacki | 2012-03-04 | 3 | -1/+22 |
|\ \ \ \ | |_|/ / |/| | | | Fix GH #3163. Should quote database on mysql/mysql2. | ||||
| * | | | Fix GH #3163. Should quote database on mysql/mysql2. | kennyj | 2012-03-05 | 3 | -1/+22 |
|/ / / | |||||
* | | | Fix rake test_sqlite3_mem | Jon Leighton | 2012-03-04 | 1 | -7/+9 |
| | | | |||||
* | | | Remove unusused variables | Jon Leighton | 2012-03-04 | 3 | -14/+9 |
|/ / | |||||
* | | [engines guide] Add more concrete example of conflicts when not using ↵ | Piotr Sarnacki | 2012-03-03 | 1 | -1/+1 |
| | | | | | | | | isolate_namespace | ||||
* | | Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225) | Piotr Sarnacki | 2012-03-03 | 3 | -5/+18 |
|/ | | | | | | | | This makes rails behave properly when you serve static assets and you have X-Sendfile headers enabled. Nevertheless in most cases you should not rely on that and serve static assets with a webserver like Apache or Nginx (as you already have it in place anyway if you use X-Sendfile) | ||||
* | Merge pull request #5255 from carlosantoniodasilva/active-record-review | Piotr Sarnacki | 2012-03-03 | 8 | -68/+77 |
|\ | | | | | Refactor and cleanup in some ActiveRecord modules | ||||
| * | Refactor and cleanup in some ActiveRecord modules | Carlos Antonio da Silva | 2012-03-03 | 8 | -68/+77 |
| | | | | | | | | | | | | | | | | | | | | | | * Avoid double hash lookups in AR::Reflection when reflecting associations/aggregations * Minor cleanups: use elsif, do..end, if..else instead of unless..else * Simplify DynamicMatchers#respond_to? * Use "where" instead of scoped with conditions hash * Extract `scoped_by` method pattern regexp to constant * Extract noisy class_eval from method_missing in dynamic matchers * Extract readonly check, avoid calling column#to_s twice in persistence * Refactor predicate builder, remove some variables | ||||
* | | Merge pull request #5246 from lest/patch-2 | José Valim | 2012-03-03 | 1 | -1/+1 |
|\ \ | | | | | | | simplify namespace assignment in fields_for | ||||
| * | | simplify namespace assignment in fields_for | Sergey Nartimov | 2012-03-02 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #5260 from castlerock/remove_ordered_hash_usages | Santiago Pastorino | 2012-03-03 | 5 | -6/+6 |
|\ \ \ | | | | | | | | | remove usage of AS::OrderedHash from other places |