[Á°][¼¡][ÈÖ¹æ½ç°ìÍ÷][¥¹¥ì¥Ã¥É°ìÍ÷]

rails:1757

From: "Taichi Fujisawa" <tf@s...>
Date: Fri, 27 Oct 2006 01:54:30 +0900
Subject: [rails:1757] Re: ¥¨¥é¡¼²èÌ̤κ¹¤·Âؤ¨ÊýË¡

ƣ߷¤Ç¤¹¡£

ÊýË¡¤Ï¤Õ¤¿¤Ä¤«¤È»×¤¤¤Þ¤¹¡£

­¡before_filterµ¡Ç½¤ò»È¤¦
¥í¥°¥¤¥ó¤ÎºÝ¤Ëºî¤Ã¤¿¥»¥Ã¥·¥ç¥ó¤Î³Îǧ¤Î¤¿¤á¤Îbefore_filter¤Î¥á¥½¥Ã¥É¤ò
ÍøÍѤ·¤Æ¡Ê¥á¥½¥Ã¥É¤Ïapplication_controller.rb¤ËºîÀ®¡Ë¡¢¸¢¸Â³Îǧ¤Ë¼ºÇÔ¤·¤¿»þ
¤Ë
¥í¥°¥¤¥ó²èÌ̤ËÄɤ¤½Ð¤¹¤è¤¦¤Ëºî¤Ã¤Æ¤ª¤¯¤È¡¢°ÕÌ£ÉÔÌÀ¤Îconntroller¤äaction¤ò»Ø
Äꤵ¤ì¤¿¾ì¹ç¡¢
Routing Error¤Ë¤Ê¤é¤º¤Ë¥í¥°¥¤¥ó²èÌ̤ËÌ᤹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
¡Ê»ä¤Ï¤³¤ì¤ò¿ÍÑ¡Ë

­¢scaffold¤Ç¼«Æ°À¸À®¤µ¤ì¤ë¹½Ê¸¤Î±þÍÑ
scaffold¤ÇÀ¸À®¤µ¤ì¤¿¥³¥ó¥È¥í¡¼¥é¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤Ê¹½Ê¸¤¬10¹ÔÌܤ«¤éÆþ¤Ã¤Æ¤¤¤Þ
¤¹¡£

  # GETs should be safe (see
http://www.w3.org/2001/tag/doc/whenToUseGet.html)
  verify :method => :post, :only => [ :destroy, :create, :update ],
         :redirect_to => { :action => :list }

¤³¤ì¤Ïonly¤Ç»ØÄꤷ¤¿°Ê³°¤Î¸ºß¤·¤Ê¤¤¥á¥½¥Ã¥É¤¬post¤µ¤ì¤¿¾ì¹ç¡¢list¤Ë¹Ô¤¯¤ÈÄê
µÁ¤·¤¿¤â¤Î¤Ç¤¹¡£
Routing Error¤ò²óÈò¤¹¤ë¤Ë¤ÏÃ桹»È¤¨¤Þ¤¹¡£


ƣ߷¡¡ÂÀ°ì / Taichi Fujisawa
mailto:tf@s...
------------------------------------------------------
¡ØTravel on Rails¡Ù
Ruby on Rails¤äWEB2.0¡¢IT¥¨¥ó¥¸¥Ë¥¢¤Î¥ï¡¼¥­¥ó¥°¥¹¥¿¥¤¥ë¤ò¸ì¤ë¡£
http://rubyonrails.blog47.fc2.com/
------------------------------------------------------
¡Ø£Ð¡¥£Æ¡¥¥É¥é¥Ã¥«¡¼¤Ë³Ø¤Ö¡Ù
¡Ø¥É¥é¥Ã¥«¡¼365¤Î¶â¸À¡Ù¤è¤ê¡¢ËèÆü¤Ò¤È¤Ä¤º¤ÄÂêºà¤È¤·¤Æ¼è¤ê¾å¤²³Ø¤Ö¡£
¿½¹þURL¡¡¡¡http://www.mag2.com/m/0000211738.html
------------------------------------------------------
Squaria Co., Ltd.

c-MA3 BLDG. 5F
3-1-35. Motoazabu Minato-ku
Tokyo, 106-0046 JAPAN
+81-3-6439-1888 (Phone)
???-????-???? (FAX)
http://www.squaria.net
------------------------------------------------------


-----Original Message-----
From: YOKOYAMA, Hideyuki [mailto:yokoyama@c...]
Sent: Friday, October 27, 2006 1:32 AM
To: rails@r...
Subject: [rails:1756] ¥¨¥é¡¼²èÌ̤κ¹¤·Âؤ¨ÊýË¡


²£»³¤Ç¤¹
¤¤¤Ä¤â¤ªÀ¤ÏäˤʤäƤª¤ê¤Þ¤¹

̤ÄêµÁ¤Î Contoller ¤ä Action ¤ò»ØÄꤷ¤¿ºÝ¤Ëɽ¼¨¤µ¤ì¤ë
Routing Error ¤Î¥¨¥é¡¼²èÌ̤ä
Unknown action ¤Î¥¨¥é¡¼²èÌ̤ò
Æȼ«¤ËºîÀ®¤·¤¿ HTML ¤Þ¤¿¤Ï
Ǥ°Õ¤Î controller, action
¤Ë¥ê¥À¥¤¥ì¥¯¥È¤µ¤»¤¿¤¤¤Î¤Ç¤¹¤¬
Rails ËÜÂΤΥ½¡¼¥¹¤ò¤¤¤¸¤é¤º¤ËÀßÄê²Äǽ¤Ç¤·¤ç¤¦¤«¡©

¤ªÊ¬¤«¤ê¤ÎÊý¤¬¤¤¤é¤Ã¤·¤ã¤¤¤Þ¤·¤¿¤é¤ª¶µ¤¨¤¯¤À¤µ¤¤

/*----
²£»³ ½¨¹Ô
YOKOYAMA, Hideyuki <yokoyama@c...>


-- PGP PUBLIC KEY SERVER URL --
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x089F75BE
----*/


--
ML: rails@r...
»È¤¤Êý: http://QuickML.com/



--
ML: rails@r...
»È¤¤Êý: http://QuickML.com/

[Á°][¼¡][ÈÖ¹æ½ç°ìÍ÷][¥¹¥ì¥Ã¥É°ìÍ÷]

      1738 2006-10-25 06:12 [k.sato@a...         ] DB¤ÎÆüËܸìɽ¼¨¤Ë¤Ä¤¤¤Æ                  
      1740 2006-10-25 06:46 ¨²[mochablendy@g...    ]                                       
      1742 2006-10-25 08:13 ¨­¨±[k.sato@a...         ]                                     
      1743 2006-10-25 09:33 ¨­¡¡¨±[tf@s...             ]                                   
      1744 2006-10-25 10:04 ¨­¡¡¡¡¨±[k.sato@a...         ]                                 
      1745 2006-10-25 10:24 ¨­¡¡¡¡¡¡¨²[tf@s...             ]                               
      1746 2006-10-25 11:03 ¨­¡¡¡¡¡¡¨­¨±[k.sato@a...         ]                             
      1748 2006-10-25 12:13 ¨­¡¡¡¡¡¡¨­¡¡¨±[tf@s...             ]                           
      1747 2006-10-25 12:04 ¨­¡¡¡¡¡¡¨±[naoji@t...          ]                               
      1749 2006-10-25 13:21 ¨­¡¡¡¡¡¡¡¡¨²[naoji@t...          ]                             
      1753 2006-10-26 08:06 ¨­¡¡¡¡¡¡¡¡¨±[k.sato@a...         ]                             
      1754 2006-10-26 08:43 ¨­¡¡¡¡¡¡¡¡¡¡¨±[naoji@t...          ]                           
      1755 2006-10-26 12:26 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¨±[k.sato@a...         ]                         
      1756 2006-10-26 18:31 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¡¡¨±[yokoyama@c...       ] ¥¨¥é¡¼²èÌ̤κ¹¤·Âؤ¨ÊýË¡
->    1757 2006-10-26 18:54 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¨²[tf@s...             ]                     
      1760 2006-10-26 19:55 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¨­¨±[yokoyama@c...       ]                   
      1758 2006-10-26 19:19 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¨²[toykyo@t...         ]                     
      1761 2006-10-26 19:58 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¨­¨±[yokoyama@c...       ]                   
      1762 2006-10-26 20:18 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¨­¡¡¨±[toykyo@t...         ]                 
      1763 2006-10-26 20:33 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¨­¡¡¡¡¨±[yokoyama@c...       ]               
      1764 2006-10-26 22:00 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¨²[naoji@t...          ]                     
      1765 2006-10-27 03:31 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¨±[qve02451@n...       ]                     
      1767 2006-10-28 08:38 ¨­¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¨±[yokoyama@c...       ]                   
      1741 2006-10-25 06:53 ¨±[tf@s...             ]