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

rails:2657

From: Masashi Itoh <msc@s...>
Date: Fri, 25 Apr 2008 12:09:41 +0900
Subject: [rails:2657] Re: Rails ¥Ú¡¼¥¸À©¸æÊýË¡

¥½¥é¥½¥ë¤Î°ËÆ£¤È¿½¤·¤Þ¤¹¡£

> ¤³¤³¤Ç¡¢­£²èÌ̤«¤é¡¢Ìá¤ë²èÌ̤ǡ¢­¢¤Ë¤¤¤Ã¤¿¤é¡¢¼«Æ°¤Ç­¡¤ËÈô¤Ö¤È¤¤¤Ã¤¿½èÍý
> ¡Ê¤Ä¤Þ¤ê¡¢­¢¤«¤é­£¤Ø¤Î°ìÊýÄ̹ԤΤߵö²Ä¡Ë¤ò¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡¢
> application.rbÅù¤Ë½ñ¤¯¤È¡¢´Êñ¤Ë¼ÂÁõ¤Ç¤­¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©

¥È¥é¥ó¥¶¥¯¥·¥ç¥ó¥È¡¼¥¯¥ó¡Ê¥ï¥ó¥¿¥¤¥à¥È¡¼¥¯¥ó¡Ë¤Î»ÅÁȤߤ¬
³ºÅö¤¹¤ë¤Î¤«¤È»×¤¤¤Þ¤¹¡£

rails¤È¤·¤Æ¤Î»ÅÁȤߤˤÏÆþ¤Ã¤Æ¤Ê¤¤¤Î¤Ç¤Ï¡©
²¼µ­¤Î¤è¤¦¤Ë¼«ÎϤǼÂÁõ¤¹¤ë·Á¤Ë¤Ê¤ë¤«¤È¡£

£±¡¥ÆþÎϲèÌÌ
¡¦¥È¡¼¥¯¥ó¡Ê¥é¥ó¥À¥à¤ÊŤ¤Ê¸»úÎó¡Ë¤òÀ¸À®¤·¤ÆsessionÊÑ¿ô¤ËÇÛÎó¤ÇÊݸ
¡¦º£ºî¤Ã¤¿token¤òform¤Ëhidden¤Ç»ý¤¿¤»¤ë

£²¡¥³Îǧ²èÌÌ
¡¦form(¤È¤¤¤¦¤«params)¤Çtoken¤ò¼õ¤±¼è¤ë
¡¦¼õ¤±¼è¤Ã¤¿token¤¬session¤Î¥È¡¼¥¯¥óÇÛÎó¤Ë¸ºß¤·¤Ê¤±¤ì¤Ð¤É¤³¤«¤ØÈô¤Ð¤¹
¡¦¼õ¤±¼è¤Ã¤¿token¤òform¤Ëhidden¤Ç»ý¤¿¤»¤ë

£³¡¥´°Î»²èÌÌ
¡¦form(¤È¤¤¤¦¤«params)¤Çtoken¤ò¼õ¤±¼è¤ë
¡¦¼õ¤±¼è¤Ã¤¿token¤¬session¤Î¥È¡¼¥¯¥óÇÛÎó¤Ë¸ºß¤·¤Ê¤±¤ì¤Ð¤É¤³¤«¤ØÈô¤Ð¤¹
¡¦DB¤ËINSERT¤·¤¿¤é¼õ¤±¼è¤Ã¤¿token¤ò¥È¡¼¥¯¥óÇÛÎ󤫤éºï½ü¤¹¤ë

¤È¤¤¤¦¼ÂÁõ¤Ë¤Ê¤ë¤«¤È¡£

¥Ö¥é¥¦¥¶¥Ð¥Ã¥¯¤Ë¤À¤±Âбþ¤¹¤ì¤Ð¤è¤¤¤Î¤Ç¤¢¤ì¤Ð
²¼µ­¤Î¤è¤¦¤Êºî¤ê¤Ë¤·¤Æ¤ÏÇ¡²¿¤Ç¤·¤ç¤¦¤«¡©

£±¡¥µ­»öÅê¹Æ²èÌÌ¡ÊÆþÎÏ¥Õ¥©¡¼¥à¡Ë

¢­ÆþÎÏ¥Õ¥©¡¼¥à¤òPOST¤ÇÁ÷¿®

£²¡¥³Îǧ²èÌÌ¡ÊÆþÎÏÆâÍƤòsession¤ËÊݸ¡Ë

¢­¡Ö£Ï£Ë¡×¥Ü¥¿¥ó¤¬²¡¤µ¤ì¤ë

£³¡¥DB¤ËINSERT¤·¤Æ¡¢session¾Ã¤·¤Æ£´¤Ø¥ê¥À¥¤¥ì¥¯¥È
¡¡¡¡¡Êsession¤¬¾Ã¤¨¤Æ¤¤¤ì¤Ð£±¤Ø¥ê¥À¥¤¥ì¥¯¥È¡Ë

£´¡¥Åê¹Æ½ªÎ»²èÌÌ

£´¤«¤é¥Ö¥é¥¦¥¶¤Î¡ÖÌá¤ë¡×¤ò²¡¤¹¤È£²¤Ç¤Ï¤Ê¤¯¤Æ£³¤ËÁ«°Ü¤·¤Æ
·ë²ÌŪ¤Ë£±¤ØÈô¤Ð¤µ¤ì¤Þ¤¹¡£



On Fri, 25 Apr 2008 01:44:37 +0900
makoto kobori <kobori@c...> wrote:

> ¤ªÀ¤ÏäˤʤäƤޤ¹¡¢¤³¤Ü¤ê¤Ç¤¹
> 
> µ­»öÅê¹Æµ¡Ç½¤Ç¡¢
> 
> ­¡µ­»öÅê¹Æ²èÌ̢έ¢³Îǧ²èÌÌ¡¡¢ª¡¡­£Åê¹Æ½ªÎ»²èÌÌ
> 
> ¤È¤¤¤¦²èÌÌÁ«°Ü¤òºî¤ê¤Þ¤·¤¿¡£
> 
> ¤³¤³¤Ç¡¢­£²èÌ̤«¤é¡¢Ìá¤ë²èÌ̤ǡ¢­¢¤Ë¤¤¤Ã¤¿¤é¡¢¼«Æ°¤Ç­¡¤ËÈô¤Ö¤È¤¤¤Ã¤¿½èÍý
> ¡Ê¤Ä¤Þ¤ê¡¢­¢¤«¤é­£¤Ø¤Î°ìÊýÄ̹ԤΤߵö²Ä¡Ë¤ò¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡¢
> application.rbÅù¤Ë½ñ¤¯¤È¡¢´Êñ¤Ë¼ÂÁõ¤Ç¤­¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
> 
> ¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£
> 
> --
> ML: rails@r...
> »È¤¤Êý: http://QuickML.com/


----------------------------------
SORASOL¡¡¥½¥é¥½¥ë³ô¼°²ñ¼Ò
¼èÄùÌò
°ËÆ£¡¡¶©¡ÊMasashi Itoh¡Ë
msc@s...

¢©153-0051¡¡Ìܹõ¶è¾åÌܹõ4-41-8
TEL&FAX¡¡??-????-????
http://sorasol.jp/
----------------------------------


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

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

      2655 2008-04-24 18:44 [kobori@c...         ] Rails ¥Ú¡¼¥¸À©¸æÊýË¡                    
   @  2656 2008-04-25 02:54 ¨²[kamei@w...          ]                                       
->    2657 2008-04-25 05:09 ¨±[msc@s...            ]                                       
      2659 2008-04-27 19:51 ¡¡¨±[kobori@c...         ]                                     
      2660 2008-04-28 04:50 ¡¡¡¡¨±[msc@s...            ]                                   
      2661 2008-04-28 17:57 ¡¡¡¡¡¡¨±[kobori@c...         ]