Created
June 19, 2009 09:12
-
-
Save jabley/132521 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
require 'java' | |
import org.apache.commons.lang.StringUtils | |
class UsersController < ApplicationController | |
# GET /users | |
# GET /users.xml | |
def index | |
@users = [] | |
@is_blank = StringUtils.isBlank("a".to_java_string) | |
respond_to do |format| | |
format.html # index.html.erb | |
format.xml { render :xml => @users } | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment