jeremyevans/sequel — Issue #447: Why always return lower-case with table name and fieldname
Author: hiscaler
Created: 2012-02-25 05:22:14+00:00
State: open

Example: My table name is "TableName", has one field as: "RealName", but i must use lower-case with data field for read it.

logs = DB[:TableName]
i = 1
logs.each do |row|
puts "当前显示第 #{i} 条记录......"
i += 1
# puts row[:Realname] # is wrong
puts row[:realname] # is right
end

Why sequel change initial state?