amazon-ecsのインストール
インストール後、config/environment.rbに以下の設定を追加
zo-i | Server設定 | 08 24th, 2009 | 2 Comments »
インストール後、config/environment.rbに以下の設定を追加
zo-i | Server設定 | 08 24th, 2009 | 2 Comments »
■Rubyのインストール
Rubyインストール
■Gemのアップデート
Gemのアップデート
■Railsのインストール
最近は、-yオプションを使うなと怒られる。
Railsのインストール
■Sqlite3モジュールの [...]
zo-i | Check List, Server設定 | 08 24th, 2009 | No Comments »
RailsでAmazonの商品を扱う – make for h @ppy_things;
http://d.hatena.ne.jp/takkkun/20090514/1242299192
Railsで [...]
zo-i | 雑文 | 07 25th, 2009 | No Comments »
@current_userに入っている模様
nameはsignup時に一緒に入れてもらうようにしよう。
passwordはどこに保存されているんだろう。。。
zo-i | 雑文 | 07 23rd, 2009 | No Comments »
少しハマリ気味だったがローカルのSMTPサーバでも送信できるようになった。
■ハマリポイント
・:domain = “localhost”はNG
・$ADMIN_EMAIL設定アドレスがSPUM判 [...]
zo-i | 雑文 | 07 23rd, 2009 | No Comments »
restful-authentication プラグインを使ってログインアプリケーション作る(1) – imishin.com
http://blog.imishin.com/2008/09/14/rails [...]
zo-i | 雑文 | 07 19th, 2009 | No Comments »
restful_authenticationでメールでアクティベーション2 – Javaとrubyと男と女
http://blog.mufu.jp/2008/06/restful-authentication [...]
zo-i | 雑文 | 07 19th, 2009 | No Comments »
restful-authentication プラグインを使ってログインアプリケーション作る(1) – imishin.com
http://blog.imishin.com/2008/09/14/rails [...]
zo-i | 雑文 | 06 30th, 2009 | No Comments »
■基本
ruby:
http://ruby.netbeans.org/codetemplates-ruby.html
デフォルトはTabキーで展開
■Controller
Trigger
Code
reai
redirect_to :action => “show”, :id => @item
l
=>
■View
Trigger
Code
r
<% %>
re
<%= %>
lia
<%= link_to “link text…”, :action => “index” %>
liai
<%= link_to “link text…”, :action => “edit”, :id => @item %>
■Model
Trigger
Code
hm
has_many :objects
bt
belongs_to :object
zo-i | Cheat Sheet | 06 23rd, 2009 | No Comments »
このへんを参考にさせてもらおう。
RailsでAmazonの商品を, 署名認証に対応した上で扱う – make for h @ppy_things;
http://d.hatena.ne.jp/takkkun [...]
zo-i | 雑文 | 06 22nd, 2009 | No Comments »