Web:RubyOnRails

From fritz'wiki
Revision as of 17:30, 30 September 2013 by Fritz (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

irb

irb command history http://macdevelopertips.com/ruby/ruby-irb-command-history.html

유니코드

…의 유니코드는 ruby 에서 "\u2026" html에서 "…"

로케일

로케일

Cookie 및 세션 관련

sub domain 까지. http://stackoverflow.com/questions/6120264/rails-subdomain-based-cookies

주석 처리

*.html.erb

<%
=begin
This is a multiline comment you can add to your .html.erb files.
Whatever you place in these comments won't show up in your rendered HTML.
You now have a place to put comments in your views. This will help
you better understand what you did later on.
=end %>
<%-#= render :partial => "configuration", :locals => {:host => host } %>

http://ionrails.com/2010/02/05/multiline-comments-in-rails-erb-views/

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox