2010-10-05から1日間の記事一覧
ActiveRecord にて取得した UTF-8 の日本語の情報を view で表示する方法です。 たとえば、Controller を下記のように記述します。 # coding: utf-8 class UserController < ApplicationController def index User.create({ :name => 'てすと', }) @user = U…
ActiveRecord にて取得した UTF-8 の日本語の情報を view で表示する方法です。 たとえば、Controller を下記のように記述します。 # coding: utf-8 class UserController < ApplicationController def index User.create({ :name => 'てすと', }) @user = U…