
rails3try.blogspot.com
Rails3 事始めRails3 についての覚え書きです。
http://rails3try.blogspot.com/
Rails3 についての覚え書きです。
http://rails3try.blogspot.com/
TODAY'S RATING
>1,000,000
Date Range
HIGHEST TRAFFIC ON
Friday
LOAD TIME
1.3 seconds
16x16
32x32
64x64
128x128
PAGES IN
THIS WEBSITE
11
SSL
EXTERNAL LINKS
0
SITE IP
216.58.195.225
LOAD TIME
1.297 sec
SCORE
6.2
Rails3 事始め | rails3try.blogspot.com Reviews
https://rails3try.blogspot.com
Rails3 についての覚え書きです。
Rails3 事始め: [Rails3] 国際化 I18n のまとめ(その3:辞書ファイルの使い方)
http://rails3try.blogspot.com/2012/01/rails3-i18n.html
Rails3] 国際化 I18n のまとめ(その3:辞書ファイルの使い方). Ruby 1.9.3. Rails 3.1.3. DBに格納されているデータを国際化(多言語化)する場合は、各ロケールごとのデータを用意する必要があります(日本語だけなら不要です)。 Id hello en hello ja - - - - - - - - - - - - - - 1 Hello こんにちは - - - - - - - - - - - - - -. もしくはハッシュの形で各ロケールのデータを1つにまとめて(=シリアライズして)DBの1つのカラムに突っ込むという手もあります。 Greeting.data = {:en = "Hello", :ja = "こんにちは"}. HTMLテンプレートに書くタイトルや文章などを辞書ファイルで定義していく、というのがとりあえず思いつくところでしょうか。辞書ファイルはハッシュの形で定義します。基本的にキーを自由につけることができますし、整理のために自由に階層をつけることができます。 参照するには I18n.t メソッドを使います。 Ja: user: # コントローラ名.
Rails3 事始め: [Rails3] コードに日本語を書くとエラーになる件
http://rails3try.blogspot.com/2011/12/rails3_26.html
Ruby 1.9.3. Rails 3.1.3. Controller や Helper など ruby のコードの中に日本語を書くと. Invalid multibyte char (US-ASCII). 8251;Rails2 の時は大丈夫だったのに… というか ruby 1.9.x になってからか。 View のファイルの中(HTMLなパート)も大丈夫です。 ま、そもそもコードの中にがっつり固定文字列を埋め込むのはよろしくないので、 「i18n 化をきちんとやりなさい」というありがたい天のお告げだと思うことにします。 Rails3] 国際化 I18n のまとめ(その2:ロケールの切り替え). Rails3] 国際化 I18n のまとめ(その1:準備編). Rails3] Oracle DB と SQlite3 を併用した場合にエラー? Rails3] before filter に条件を設定する. Rails3] belongs to で関連づけたモデルの属性値でソートするには :include. Passenger で development モードで動かす.
Rails3 事始め: [Rails3] 現在のURLを取得(request オブジェクト)
http://rails3try.blogspot.com/2012/01/rails3-urlrequest.html
Rails3] 現在のURLを取得(request オブジェクト). Ruby 1.9.3. Rails 3.1.3. Rails アプリケーションの中で現在処理中(アクセス中)の URL を取得するには request オブジェクトを参照します。 プロトコル名(http:/ )を含めたフル URL を取得する。 Request.url # http:/ example.com/users/search? Request.request uri # /users/search? URL のホスト名以降のパス文字列を取得する。クエリ文字列(? Request.path info # /users/search. URL 以外にも request オブジェクトを使うと HTTP REQUEST に入っている様々な情報を取得できます。 Request.auth type # AUTH TYPE. Request.content length # CONTENT LENGTH. Request.content type # CONTENT TYPE. Request.from # HTTP FROM.
Rails3 事始め: 6月 2011
http://rails3try.blogspot.com/2011_06_01_archive.html
Rails 3.0.7. Gem list gem list - local. リモートにある Gem ファイルのリストを取得する場合は - remote オプションをつける。 リモートにある、指定した名前から始まる Gem ファイルのリスト. Gem list - remote gemfile name. Gem list - remote - all gemfile name. リモートにある、指定した名前を含む Gem ファイルのリスト. Gem search - remote gemfile name. Gem search - remote - all gemfile name. Rails3] form for と form tag、text field と text field tag の違い. Rails 3.0.7. Ftext field と text field tag の使い分けについて. Scaffold を作った時に自動的にできてくる View( form.html.erb)を見ると. Hoge) do f % %= f.text field. Hoge = Hoge....
Rails3 事始め: 5月 2011
http://rails3try.blogspot.com/2011_05_01_archive.html
実行環境:Rails 3.0.4. 9312; app/controllers/application controller.rb 内で定義. 9313; config/initializers/constants.rb 内で定義. 9312; app/controllers/application controller.rb 内で定義. Applicationコントローラは通常すべての controller のスーパークラスとなっているので、application コントローラ内で定義された定数は、アプリケーション内のすべてのコントローラ内で参照できます。 Class ApplicationController ActionController: Base FAVARITE = 'Nadal' end. 9313; config/initializers/constants.rb 内で定義. ちなみに定数名はアルファベット大文字で始まります。ruby の約束事です。 12300;ウォーターマーク」テーマ. Powered by Blogger.
TOTAL PAGES IN THIS WEBSITE
11
www.rails365.com
Xinxizang.com/.cn/.com.cn打包出售中 新西藏,可做地方门户,机不可失. Falvbao.com wenyibao.com zaocandian.com canyindian.com daizuren.com liangticaiyi.com dananmen.com zhaohuogan.com yidashi.com 正在ename一口价销售.
Rails3備忘録
Server 2008 R2 にVisual Studio 2008をインストールする. Server 2008 R2にVisual Studio 2008をインストールしようとすると.NET framework 3.5のインストールで失敗します。 NET framework 3.5(.1)をインストールしてからVisual Studio 2008をインストールすればOKです。 Http:/ www.ipentec.com/document/document.aspx? 複数のアプリを動かす(CentOS Apache Passenger). 1Apache設定ファイル(httpd.conf)の編集. Sudo vi /etc/httpd/conf/httpd.conf. LoadModule passenger module /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.11/ext/apache2/mod passenger.so. Ln -s /var/rails/myapp2/public /var/rails/myapp2link.
Rails3Info::Resources and news on Ruby on Rails 3
Follow us on Twitter. The upcoming release of Ruby on Rails. 3 comes packed with new features and performance improvements. A much more modular architecture enables integration of other ecosystem components and decoupling of internal components. We created this site to collect the latest news and resources on Rails 3 in a well-categorized, easily accessible manner. Enjoy! Sign up for our Rails newsletter. Rails3info: RT @jaflebol: Way to go on the release of #rails3 yesterday! Rails 3 Info launched.
Rails3to4.com
Rails3 事始め
Rails3] コントローラの namespace を取得する. Ruby 1.9.3. Rails 3.1.3. コントローラの名前は controller.controller name で取得できますが namespace までは取得できないので、UsersController の場合も Admin: UsersController の場合も同じ users が返ってくる。 Namespace まで一緒にとりたい場合は controller.controller path を使います。 admin/users が返ってきます。 Def namespace controller.controller path.split('/')[-2] # admin. もしくは controller.class.name でも Admin: UsersController のように namespace 付きで得られます。 Def namespace controller.class.name.split(': ')[-2] # Admin. Ruby 1.9.3. Rails 3.1.3. デフォルトの Vie...
Code School - Rails 4: Zombie Outlaws
www.rails4.net
This Web page parked FREE courtesy of Split Second Domains. Search for domains similar to. Is this your domain? Let's turn it into a website! Would you like to buy this. Find Your Own Domain Name. See our full line of products. Easily Build Your Professional Website. As low as $4.99/mo. Call us any time day or night .
rails4example.gitrepoexamples.com
Dashboard - rails4-example
Open source project illustrating a basic web application using Rails 4.2, Ruby 2.0, Devise and Bootstrap 3. The source code can be found on github.com:. Please sign-up and have a look around. Or try "jane", "123123". Rails 4.2.1. Ruby 2.0.0. Less-rails-bootstrap 3.3.5.0. Devise 3.5.1. Cancan 1.6.10. Actionmailer 4.2.1. Actionpack 4.2.1. Actionview 4.2.1. Activejob 4.2.1. Activemodel 4.2.1. Activerecord 4.2.1. Activesupport 4.2.1. Arel 6.0.0. Bcrypt 3.1.10. Builder 3.2.2. Bundler 1.7.9. Haml 4.0.6. Author...
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required. For online documentation and support please refer to nginx.org. Commercial support is available at nginx.com. Thank you for using nginx.