- 24 8月, 2015 1 次提交
-
-
由 Marcin Olichwirowicz 提交于
-
- 22 8月, 2015 4 次提交
-
-
由 Godfrey Chan 提交于
-
由 eileencodes 提交于
`ActiveSupport::Dependencies.constantize(const_name)` calls `Reference.new` which is defined as `ActiveSupport::Dependencies.constantize(const_name)` meaning this call is already cached and we're doing caching that isn't necessary.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
I'm going to change the constructor, so it's easier to do it in one place.
-
- 21 8月, 2015 13 次提交
-
-
由 Andrew White 提交于
Remove duplicity in tests
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
Small fixes [ci skip]
-
由 Alexey Markov 提交于
-
由 Yves Senn 提交于
Fix Punctuation in `AutosaveAssociation` RDoc [ci skip]
-
由 Aaron Patterson 提交于
This way we can make the Route object a read-only data structure.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Robert Eshleman 提交于
[ci skip]
-
由 Kasper Timm Hansen 提交于
Removed mocha from ActionMailer
-
由 Alexey Markov 提交于
-
由 Matthew Draper 提交于
File renaming should be the last operation of an atomic write
-
- 20 8月, 2015 11 次提交
-
-
由 Jean Boussier 提交于
-
由 Yves Senn 提交于
fix path of annotations.rake [ci skip]
-
由 yuuji.yaginuma 提交于
-
由 Yves Senn 提交于
Closes #21304. While we can validate uniqueness for record without primary key on creation, there is no way to exclude the current record when updating. (The update itself will need a primary key to work correctly).
-
由 Yves Senn 提交于
Correct cache store superclass in comment [ci skip]
-
由 Ronak Jangir 提交于
-
由 Kasper Timm Hansen 提交于
Cleaned up generators tests using internal assertion helper
-
由 Ronak Jangir 提交于
-
由 Rafael Mendonça França 提交于
Migrate to Sprockets 4.
-
由 Jonah Burke 提交于
-
由 Andrei Istratii 提交于
-
- 19 8月, 2015 11 次提交
-
-
由 Guillermo Iguaran 提交于
Add code of conduct info to README.md and to contributing guide
-
由 David Heinemeier Hansson 提交于
Adds a code of conduct
-
由 Yves Senn 提交于
Added docs for TableDefinition #coloumns & #remove_column [ci skip]
-
由 maclover7 提交于
-
由 Aaron Patterson 提交于
nobody should be touching the routes hash without going through the NamedRouteCollection object.
-
由 Aaron Patterson 提交于
We shouldn't be messing with the NamedRouteCollection internals. Just ask the object if the named route is in there.
-
由 Aaron Patterson 提交于
```ruby require 'action_pack' require 'action_dispatch' require 'benchmark/ips' route_set = ActionDispatch::Routing::RouteSet.new routes = ActionDispatch::Routing::Mapper.new route_set ObjectSpace::AllocationTracer.setup(%i{path line type}) result = ObjectSpace::AllocationTracer.trace do 500.times do routes.resources :foo end end sorted = ObjectSpace::AllocationTracer.allocated_count_table.sort_by(&:last) sorted.each do |k,v| next if v == 0 p k => v end __END__ Before: {:T_SYMBOL=>11} {:T_REGEXP=>17} {:T_STRUCT=>6500} {:T_MATCH=>12004} {:T_OBJECT=>99009} {:T_DATA=>100088} {:T_HASH=>122015} {:T_STRING=>159637} {:T_IMEMO=>363134} {:T_ARRAY=>433056} After: {:T_SYMBOL=>11} {:T_REGEXP=>17} {:T_STRUCT=>6500} {:T_MATCH=>12004} {:T_OBJECT=>91009} {:T_DATA=>100088} {:T_HASH=>114013} {:T_STRING=>159637} {:T_ARRAY=>321056} {:T_IMEMO=>351133} ```
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
Eagerly calculate and cache the name of Symbol objects in the path AST. This drops about 26 string allocations per resource: ```ruby require 'action_pack' require 'action_dispatch' require 'benchmark/ips' route_set = ActionDispatch::Routing::RouteSet.new routes = ActionDispatch::Routing::Mapper.new route_set ObjectSpace::AllocationTracer.setup(%i{path line type}) result = ObjectSpace::AllocationTracer.trace do 500.times do routes.resources :foo end end sorted = ObjectSpace::AllocationTracer.allocated_count_table.sort_by(&:last) sorted.each do |k,v| next if v == 0 p k => v end __END__ Before: {:T_SYMBOL=>11} {:T_REGEXP=>17} {:T_STRUCT=>6500} {:T_MATCH=>12004} {:T_OBJECT=>99009} {:T_DATA=>116084} {:T_HASH=>122015} {:T_STRING=>172647} {:T_IMEMO=>371132} {:T_ARRAY=>433056} After: {:T_SYMBOL=>11} {:T_REGEXP=>17} {:T_STRUCT=>6500} {:T_MATCH=>12004} {:T_OBJECT=>99009} {:T_DATA=>100088} {:T_HASH=>122015} {:T_STRING=>159637} {:T_IMEMO=>363134} {:T_ARRAY=>433056} ```
-
由 Rafael Mendonça França 提交于
Add a native JSON data type support in MySQL
-
由 CoralineAda 提交于
An easy way to begin addressing the problem of inclusivity is to be overt in our openness, welcoming all people to contribute, and pledging in return to value them as human beings and to foster an atmosphere of kindness, cooperation, and understanding. A code of conduct is one way to express these values. It lets us pledge our respect and appreciation for contributors and participants to the project.
-