Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
authorization-for-buktorg
Search
TAKAHASHI Kazunari
March 17, 2013
0
330
authorization-for-buktorg
TAKAHASHI Kazunari
March 17, 2013
Tweet
Share
More Decks by TAKAHASHI Kazunari
See All by TAKAHASHI Kazunari
fat-settings-yml
1syo
0
790
雑につくるKPIツールのススメ
1syo
0
440
みなとRuby会議02やりたい
1syo
1
250
Testing Wercker plugin with bats
1syo
0
500
私を変えた1冊の本
1syo
0
790
普通のCSVアップロードフォームを作りたい(改)
1syo
9
1k
普通のCSVアップロードフォームを作りたい
1syo
17
2.9k
kaja-2013
1syo
0
490
untestable production code
1syo
0
510
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Into the Great Unknown - MozCon
thekraken
34
1.6k
Designing for Performance
lara
604
68k
Optimising Largest Contentful Paint
csswizardry
33
3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
RailsConf 2023
tenderlove
29
970
Fireside Chat
paigeccino
34
3.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Writing Fast Ruby
sferik
628
61k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Transcript
CVLUPSHʹ͓͚Δ ೝՄͷߟ 2013/03/09 Yokohama.rb #30 @1syo
None
None
w CVʹ͍ͭͯ w 3BJMT w (JUIVC5SBWJTNPSF w ख࡞ΓͷԹΓ
http://www.flickr.com/photos/june29/7668029696/
w ೝূ w ೝՄ
͋ͤ͘͢͜ΜͱΖʔΔΓ͢ͱ
SXY
ϓϩάϥϚʔͷχʔζ
JGDVSSFOU@VTFSBENJO ʜ FOE
)551.&5)0%
w(&5 w1045
w (&5 w JOEFY OFX FEJU w 1045 165 %&-&5&
w DSFBUF VQEBUF EFMFUF
w (&5 w ͋ͳͨ͜ͷDPOUSPMMFSͰSFBEͰ͖ Δ͔ w 1045 w ͋ͳͨ͜ͷDPOUSPMMFSͰXSJUFͰ ͖Δ͔
w69తͳ՝ wOFX FEJUͳͲ1045ʹܨΔ(&5ͷѻ͍
CVͰͲ͏ͳͷ͔
w6TFSϩʔϧ w(SPVQύʔϛογϣϯ
w(SPVQύʔϛογϣϯ wެ։ wݶఆެ։ wඇެ։
• Userϩʔϧ • Administrator • Group Owner • Group Manager
• Group Member • Event Owner • Event Manager
None
wϩʔϧͷݮ w6TFSϩʔϧͷ౷߹ඞਢ w(SPVQϩʔϧͷਫ਼ࠪ
http://blog.udzura.jp/2012/01/12/lovely-authorization-with-cancan/
DBODBOͰϞςΧϫ— Ѫ͞Εݖݶཧͪ͠Ό͑ a ?˜?