1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

8 commits

Author SHA1 Message Date
Erik Michaels-Ober
b11ebf1d80 Replace map.flatten(1) with flat_map 2014-02-28 22:46:25 -08:00
Rafael Mendonça França
b39b3652e1 Revert "Merge pull request #12990 from vipulnsward/remove_visualizer_param"
This reverts commit 5a19346d28, reversing
changes made to d82588ee47.

This argument is being used in the view
5a19346d28/actionpack/lib/action_dispatch/journey/visualizer/index.html.erb (L4)

It is being set using the binding
5a19346d28/actionpack/lib/action_dispatch/journey/gtg/transition_table.rb (L108)
2013-11-21 17:49:00 -02:00
Vipul A M
1a2eb04566 Remove unused param titleto TransitionTable#visualizer 2013-11-22 00:44:10 +05:30
Godfrey Chan
ff1192fea4 Eliminate JSON.{parse,load,generate,dump} and def to_json
JSON.{dump,generate} offered by the JSON gem is not compatiable with
Rails at the moment and can cause a lot of subtle bugs when passed
certain data structures. This changed all direct usage of the JSON gem
in internal Rails code to always go through AS::JSON.{decode,encode}.

We also shouldn't be implementing `to_json` most of the time, and
these occurances are replaced with an equivilent `as_json`
implementation to avoid problems down the road.

See [1] for all the juicy details.

[1]: intridea/multi_json#138 (comment)
2013-11-05 22:26:45 -08:00
thedarkone
f31ec1c472 Make GTG::TransTable thread safe.
From now on only the `[]=` method is allowed to modify the internal states hashes.
2013-09-28 19:19:07 +02:00
Francesco Rodriguez
eb493f5ac8 update AD::Journey to follow Rails coding conventions 2012-12-20 15:42:39 -05:00
Francesco Rodriguez
a36ae63d07 :nodoc: Journey because is not part of the public API [ci skip] 2012-12-19 19:24:25 -05:00
Andrew White
56fee39c39 Integrate Journey into Action Dispatch
Move the Journey code underneath the ActionDispatch namespace so
that we don't pollute the global namespace with names that may
be used for models.

Fixes rails/journey#49.
2012-12-19 22:13:08 +00:00