if resourceful
Folder 1
if resourceful and assign_attributes defined
Folder 2
if resourceful and store_data defined
Folder 3
new
after_load_data
e.g. add scopes to relation
e.g. patch params
assign_attributes
params
after_assign_attributes
e.g. prefill some fields
authorize
create / update / destroy
load_data
store_data
respond
e.g. react to previously saved success / state
find
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
x="0px" y="0px" width="40px" height="48px" viewBox="0 0 40 48" enable-background="new 0 0 40 48" xml:space="preserve">
<defs>
</defs>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="370.2002" y1="655.0938" x2="409.4502" y2="655.0938" gradientTransform="matrix(1 0 0 1 -370.2002 -614.5742)">
<stop offset="0" style="stop-color:#4D4D4D"/>
<stop offset="0.0558" style="stop-color:#5F5F5F"/>
<stop offset="0.2103" style="stop-color:#8D8D8D"/>
<stop offset="0.3479" style="stop-color:#AEAEAE"/>
<stop offset="0.4623" style="stop-color:#C2C2C2"/>
<stop offset="0.5394" style="stop-color:#C9C9C9"/>
<stop offset="0.6247" style="stop-color:#C5C5C5"/>
<stop offset="0.7072" style="stop-color:#BABABA"/>
<stop offset="0.7885" style="stop-color:#A6A6A6"/>
<stop offset="0.869" style="stop-color:#8B8B8B"/>
<stop offset="0.9484" style="stop-color:#686868"/>
<stop offset="1" style="stop-color:#4D4D4D"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M19.625,37.613C8.787,37.613,0,35.738,0,33.425v10c0,2.313,8.787,4.188,19.625,4.188
c10.839,0,19.625-1.875,19.625-4.188v-10C39.25,35.738,30.464,37.613,19.625,37.613z"/>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="370.2002" y1="649.0938" x2="409.4502" y2="649.0938" gradientTransform="matrix(1 0 0 1 -370.2002 -614.5742)">
<stop offset="0" style="stop-color:#B3B3B3"/>
<stop offset="0.0171" style="stop-color:#B6B6B6"/>
<stop offset="0.235" style="stop-color:#D7D7D7"/>
<stop offset="0.4168" style="stop-color:#EBEBEB"/>
<stop offset="0.5394" style="stop-color:#F2F2F2"/>
<stop offset="0.6579" style="stop-color:#EEEEEE"/>
<stop offset="0.7724" style="stop-color:#E3E3E3"/>
<stop offset="0.8853" style="stop-color:#CFCFCF"/>
<stop offset="0.9965" style="stop-color:#B4B4B4"/>
<stop offset="1" style="stop-color:#B3B3B3"/>
</linearGradient>
<path fill="url(#SVGID_2_)" d="M19.625,37.613c10.839,0,19.625-1.875,19.625-4.188l-1.229-2c0,2.168-8.235,3.927-18.396,3.927
c-9.481,0-17.396-1.959-18.396-3.927l-1.229,2C0,35.738,8.787,37.613,19.625,37.613z"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="371.4297" y1="646" x2="408.2217" y2="646" gradientTransform="matrix(1 0 0 1 -370.2002 -614.5742)">
<stop offset="0" style="stop-color:#C9C9C9"/>
<stop offset="1" style="stop-color:#808080"/>
</linearGradient>
<ellipse fill="url(#SVGID_3_)" cx="19.625" cy="31.425" rx="18.396" ry="3.926"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="370.2002" y1="641.0938" x2="409.4502" y2="641.0938" gradientTransform="matrix(1 0 0 1 -370.2002 -614.5742)">
<stop offset="0" style="stop-color:#4D4D4D"/>
<stop offset="0.0558" style="stop-color:#5F5F5F"/>
<stop offset="0.2103" style="stop-color:#8D8D8D"/>
<stop offset="0.3479" style="stop-color:#AEAEAE"/>
<stop offset="0.4623" style="stop-color:#C2C2C2"/>
<stop offset="0.5394" style="stop-color:#C9C9C9"/>
<stop offset="0.6247" style="stop-color:#C5C5C5"/>
<stop offset="0.7072" style="stop-color:#BABABA"/>
<stop offset="0.7885" style="stop-color:#A6A6A6"/>
<stop offset="0.869" style="stop-color:#8B8B8B"/>
<stop offset="0.9484" style="stop-color:#686868"/>
<stop offset="1" style="stop-color:#4D4D4D"/>
</linearGradient>
<path fill="url(#SVGID_4_)" d="M19.625,23.613C8.787,23.613,0,21.738,0,19.425v10c0,2.313,8.787,4.188,19.625,4.188
c10.839,0,19.625-1.875,19.625-4.188v-10C39.25,21.738,30.464,23.613,19.625,23.613z"/>
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="370.2002" y1="635.0938" x2="409.4502" y2="635.0938" gradientTransform="matrix(1 0 0 1 -370.2002 -614.5742)">
<stop offset="0" style="stop-color:#B3B3B3"/>
<stop offset="0.0171" style="stop-color:#B6B6B6"/>
<stop offset="0.235" style="stop-color:#D7D7D7"/>
<stop offset="0.4168" style="stop-color:#EBEBEB"/>
<stop offset="0.5394" style="stop-color:#F2F2F2"/>
<stop offset="0.6579" style="stop-color:#EEEEEE"/>
<stop offset="0.7724" style="stop-color:#E3E3E3"/>
<stop offset="0.8853" style="stop-color:#CFCFCF"/>
<stop offset="0.9965" style="stop-color:#B4B4B4"/>
<stop offset="1" style="stop-color:#B3B3B3"/>
</linearGradient>
<path fill="url(#SVGID_5_)" d="M19.625,23.613c10.839,0,19.625-1.875,19.625-4.188l-1.229-2c0,2.168-8.235,3.926-18.396,3.926
c-9.481,0-17.396-1.959-18.396-3.926l-1.229,2C0,21.738,8.787,23.613,19.625,23.613z"/>
<linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="371.4297" y1="632" x2="408.2217" y2="632" gradientTransform="matrix(1 0 0 1 -370.2002 -614.5742)">
<stop offset="0" style="stop-color:#C9C9C9"/>
<stop offset="1" style="stop-color:#808080"/>
</linearGradient>
<ellipse fill="url(#SVGID_6_)" cx="19.625" cy="17.426" rx="18.396" ry="3.926"/>
<linearGradient id="SVGID_7_" gradientUnits="userSpaceOnUse" x1="370.2002" y1="627.5938" x2="409.4502" y2="627.5938" gradientTransform="matrix(1 0 0 1 -370.2002 -614.5742)">
<stop offset="0" style="stop-color:#4D4D4D"/>
<stop offset="0.0558" style="stop-color:#5F5F5F"/>
<stop offset="0.2103" style="stop-color:#8D8D8D"/>
<stop offset="0.3479" style="stop-color:#AEAEAE"/>
<stop offset="0.4623" style="stop-color:#C2C2C2"/>
<stop offset="0.5394" style="stop-color:#C9C9C9"/>
<stop offset="0.6247" style="stop-color:#C5C5C5"/>
<stop offset="0.7072" style="stop-color:#BABABA"/>
<stop offset="0.7885" style="stop-color:#A6A6A6"/>
<stop offset="0.869" style="stop-color:#8B8B8B"/>
<stop offset="0.9484" style="stop-color:#686868"/>
<stop offset="1" style="stop-color:#4D4D4D"/>
</linearGradient>
<path fill="url(#SVGID_7_)" d="M19.625,10.113C8.787,10.113,0,8.238,0,5.925v10c0,2.313,8.787,4.188,19.625,4.188
c10.839,0,19.625-1.875,19.625-4.188v-10C39.25,8.238,30.464,10.113,19.625,10.113z"/>
<linearGradient id="SVGID_8_" gradientUnits="userSpaceOnUse" x1="370.2002" y1="621.5938" x2="409.4502" y2="621.5938" gradientTransform="matrix(1 0 0 1 -370.2002 -614.5742)">
<stop offset="0" style="stop-color:#B3B3B3"/>
<stop offset="0.0171" style="stop-color:#B6B6B6"/>
<stop offset="0.235" style="stop-color:#D7D7D7"/>
<stop offset="0.4168" style="stop-color:#EBEBEB"/>
<stop offset="0.5394" style="stop-color:#F2F2F2"/>
<stop offset="0.6579" style="stop-color:#EEEEEE"/>
<stop offset="0.7724" style="stop-color:#E3E3E3"/>
<stop offset="0.8853" style="stop-color:#CFCFCF"/>
<stop offset="0.9965" style="stop-color:#B4B4B4"/>
<stop offset="1" style="stop-color:#B3B3B3"/>
</linearGradient>
<path fill="url(#SVGID_8_)" d="M19.625,10.113c10.839,0,19.625-1.875,19.625-4.188l-1.229-2c0,2.168-8.235,3.926-18.396,3.926
c-9.481,0-17.396-1.959-18.396-3.926L0,5.925C0,8.238,8.787,10.113,19.625,10.113z"/>
<linearGradient id="SVGID_9_" gradientUnits="userSpaceOnUse" x1="371.4297" y1="618.5" x2="408.2217" y2="618.5" gradientTransform="matrix(1 0 0 1 -370.2002 -614.5742)">
<stop offset="0" style="stop-color:#C9C9C9"/>
<stop offset="1" style="stop-color:#808080"/>
</linearGradient>
<ellipse fill="url(#SVGID_9_)" cx="19.625" cy="3.926" rx="18.396" ry="3.926"/>
<path opacity="0.24" fill="#FFFFFF" enable-background="new " d="M31.291,46.792c0,0-4.313,0.578-7.249,0.694
C20.917,47.613,15,47.613,15,47.613l-2.443-10.279l-0.119-2.283l-1.231-1.842L9.789,23.024l-0.082-0.119L9.3,20.715l-1.45-1.44
L5.329,8.793c0,0,5.296,0.882,7.234,1.07s8.375,0.25,8.375,0.25l3,9.875l-0.25,1.313l1.063,2.168l2.312,9.644l-0.375,1.875
l1.627,2.193L31.291,46.792z"/>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="57px" height="65px" viewBox="0 0 57 65" enable-background="new 0 0 57 65" xml:space="preserve">
<g>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="26.3398" y1="3115.7266" x2="27.5807" y2="3145.5239" gradientTransform="matrix(1 0 0 1 0.3203 -3091.7656)">
<stop offset="0.2711" style="stop-color:#FFAB4F"/>
<stop offset="1" style="stop-color:#FFD28F"/>
</linearGradient>
<path fill="url(#SVGID_1_)" stroke="#ED9135" stroke-miterlimit="10" d="M49.529,51.225c-4.396-4.396-10.951-5.884-12.063-6.109
V37.8H19.278c0,0,0.038,6.903,0,6.868c0,0-6.874,0.997-12.308,6.432C1.378,56.691,0.5,62.77,0.5,62.77
c0,1.938,1.575,3.492,3.523,3.492h48.51c1.947,0,3.521-1.558,3.521-3.492C56.055,62.768,54.211,55.906,49.529,51.225z"/>
<radialGradient id="face_x5F_white_1_" cx="27.5835" cy="3117.4922" r="23.425" fx="23.0139" fy="3115.0024" gradientTransform="matrix(1 0 0 1 0.3203 -3091.7656)" gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:#FFD28F"/>
<stop offset="1" style="stop-color:#FFAB4F"/>
</radialGradient>
<path id="face_x5F_white_3_" fill="url(#face_x5F_white_1_)" stroke="#ED9135" stroke-miterlimit="10" d="M43.676,23.357
c0.086,10.2-6.738,18.52-15.25,18.586c-8.5,0.068-15.464-8.146-15.55-18.344C12.794,13.4,19.618,5.079,28.123,5.012
C36.627,4.945,43.59,13.158,43.676,23.357z"/>
<linearGradient id="face_highlight_1_" gradientUnits="userSpaceOnUse" x1="6468.501" y1="-12291.5195" x2="6492.1304" y2="-12384.9688" gradientTransform="matrix(0.275 0 0 -0.2733 -1752.8849 -3351.7349)">
<stop offset="0" style="stop-color:#FFFFFF;stop-opacity:0.24"/>
<stop offset="1" style="stop-color:#FFFFFF;stop-opacity:0.16"/>
</linearGradient>
<path id="face_highlight_3_" fill="url(#face_highlight_1_)" d="M28.415,5.625c-6.035,0.047-10.747,4.493-12.787,10.386
c-0.664,1.919-0.294,4.043,0.98,5.629c2.73,3.398,5.729,6.283,9.461,8.088c3.137,1.518,7.535,2.385,11.893,1.247
c2.274-0.592,3.988-2.459,4.375-4.766c0.187-1.094,0.293-2.289,0.283-3.553C42.54,13.244,36.729,5.56,28.415,5.625z"/>
<path fill="#5C5C5C" stroke="#353535" stroke-linecap="round" stroke-linejoin="round" d="M32.215,9.938
c0,0,5.688,2.75,7.688,8.125c2.104,5.652,4.123,8.232,4.188,8c1.875-6.794,1.063-21.438-10.17-21.587
c-20.455-7.663-25.58,11.962-23.893,19.65c1.078,4.911,2.234,6.686,3.938,8.08C13.966,32.205,15.028,17.563,32.215,9.938z"/>
<linearGradient id="body_1_" gradientUnits="userSpaceOnUse" x1="95.9063" y1="-3136.23" x2="31.5133" y2="-3136.23" gradientTransform="matrix(0.9852 0 0 -0.9852 -34.4844 -3033.9702)">
<stop offset="0" style="stop-color:#49AD33"/>
<stop offset="1" style="stop-color:#C2DA92"/>
</linearGradient>
<path id="body_8_" fill="url(#body_1_)" stroke="#008D33" d="M0.5,62.768c0,1.938,1.575,3.494,3.523,3.494h48.51
c1.947,0,3.521-1.559,3.521-3.494c0,0-1.844-6.861-6.525-11.543c-4.815-4.813-8.244-5.146-8.244-5.146
c-1.444,6.983-8.555,8.786-13.007,8.786s-11.322-2.643-11.941-9.439c0,0-4.559,1.199-9.367,5.674
C1.378,56.689,0.5,62.768,0.5,62.768z"/>
</g>
</svg>