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
770
雑につくるKPIツールのススメ
1syo
0
430
みなとRuby会議02やりたい
1syo
1
230
Testing Wercker plugin with bats
1syo
0
480
私を変えた1冊の本
1syo
0
790
普通のCSVアップロードフォームを作りたい(改)
1syo
9
990
普通のCSVアップロードフォームを作りたい
1syo
17
2.8k
kaja-2013
1syo
0
490
untestable production code
1syo
0
510
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Gamification - CAS2011
davidbonilla
80
5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Statistics for Hackers
jakevdp
796
220k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Side Projects
sachag
452
42k
Why Our Code Smells
bkeepers
PRO
334
57k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Building an army of robots
kneath
302
43k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Bash Introduction
62gerente
608
210k
Being A Developer After 40
akosma
86
590k
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 ?˜?