[Ruby on Rails]Controller内でHelperに定義したメソッドを使う
Controller内でHelperに定義したメソッドを使うには
[ruby]ApplicationController.helpers.my_method(text)[/ruby]
という感じで書けば使用できる
2012年2月1日
Controller内でHelperに定義したメソッドを使うには
[ruby]ApplicationController.helpers.my_method(text)[/ruby]
という感じで書けば使用できる
Posted by GENDOSU

redmineにはwikiがついてます。 基本Textile形式で記述する物なの ...

Aptana Studio 3でEGitを入れているのに Aptana Stud ...

Railsでsend_fileというメソッドがある これは、ファイルなどをそのま ...

Railsで日付処理は、意外と簡単に出来たりする。 1日前 1.days.ago ...

remote_tableはリモート(またはローカル)にあるExcel、CSVファ ...
