- 03 3月, 2012 8 次提交
-
-
由 Carlos Antonio da Silva 提交于
* 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
-
由 Jeremy Kemper 提交于
Add ActiveModel::Model, a mixin to make plain Ruby objects work with AP out of box
-
由 Guillermo Iguaran 提交于
-
由 Santiago Pastorino 提交于
Closes #5245
-
由 Aaron Patterson 提交于
-
由 Piotr Sarnacki 提交于
It fails if routes from to railties are called in one context, for example: blog.posts_path and main_app.users_path
-
由 José Valim 提交于
don't pass unnecessary argument
-
由 Sergey Nartimov 提交于
-
- 02 3月, 2012 12 次提交
-
-
由 José Valim 提交于
Optimize routes generation in simple cases. If you pass to the route helper the same amount of arguments as the required segments, route generation will be optimized as a string interpolation. After this commit, `post_path(post)` is about 6.5 times faster, `post_url(post)` is about 5 times.
-
由 Piotr Sarnacki 提交于
-
由 José Valim 提交于
Stop SafeBuffer#clone_empty from issuing warnings
-
由 Carlos Antonio da Silva 提交于
Logic in clone_empty method was dealing with old @dirty variable, which has changed by @html_safe in this commit: https://github.com/rails/rails/commit/139963c99a955520db6373343662e55f4d16dcd1 This was issuing a "not initialized variable" warning - related to: https://github.com/rails/rails/pull/5237 The logic applied by this method is already handled by the [] override, so there is no need to reset the variable here.
-
-
由 Piotr Sarnacki 提交于
Allow empty fieldsets to be created without a block.
-
由 José Valim 提交于
-
由 Xavier Noria 提交于
Commit 3dbedd28 added NOT NULL constraints both to table creation and modification. For creation the new default makes sense, but the generic situation for changing a table is that there exist records. Those records have no creation or modification timestamps, and in the general case you don't even know them, so when updating a table these constraints are not going to work. See a bug report for this use case in #3334.
-
由 Ben Pickles 提交于
-
由 Vijay Dev 提交于
Add release dates to documentation
-
由 claudiob 提交于
Set "March 1, 2012" as the release date for 3.2.2, 3.1.4, 3.0.12
-
由 Aaron Patterson 提交于
* master-security: Ensure [] respects the status of the buffer. delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options Conflicts: actionpack/lib/action_view/helpers/tags/base.rb
-
- 01 3月, 2012 8 次提交
-
-
由 Jeremy Kemper 提交于
-
由 José Valim 提交于
-
由 Aaron Patterson 提交于
Fix layout lookup for anonymous controller
-
由 Aaron Patterson 提交于
Fix for #2781
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
We have an empty api doc page otherwise :)
-
由 Jeremy Kemper 提交于
Fix warning: assigned but unused variable
-
由 kennyj 提交于
-
- 29 2月, 2012 8 次提交
-
-
由 Aaron Patterson 提交于
-
由 Jeremy Kemper 提交于
remove unnecessary memcache require in ActionDispatch CacheStore
-
由 Brian Durand 提交于
-
由 Xavier Noria 提交于
update_only documentation for accepts_nested_attributes_for
-
由 Mark 提交于
-
由 Aaron Patterson 提交于
Inject in constantize
-
由 José Valim 提交于
force datetime attributes to be changed, fix GH #3965
-
由 homa 提交于
-
- 28 2月, 2012 4 次提交