Created
September 18, 2010 01:04
-
-
Save temojin/585215 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in padrino 0.9.15 it not able to get params[username] in before filter. | |
before do | |
logger.debug "before" | |
logger.debug params | |
logger.debug params[:username] # empty in 0.9.15 but works in 0.9.14 | |
logger.debug "request" | |
logger.debug request.params | |
end | |
get :users, :with => :username do | |
logger.debug "users" | |
logger.debug params.inspect | |
params[:username] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment