This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
rails--rails
mirror of
https://github.com/rails/rails.git
Watch
1
Star
0
Fork
You've already forked rails--rails
0
Code
Releases
Activity
a06c825b46
rails--rails
/
railties
/
lib
/
console_with_helpers.rb
6 lines
100 B
Ruby
Raw
Normal View
History
Unescape
Escape
simplify console with helpers
2008-11-23 21:15:05 +00:00
def
helper
@helper
||
=
ApplicationController
.
helpers
Don't polute the top level namespace in the console with ActionView helpers. Make them available from a helper method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-23 21:56:38 +00:00
end
Make all ActionView helpers available in the console for debugging purposes. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-21 20:07:41 +00:00
@controller
=
ApplicationController
.
new