This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
В следующих конструкциях в качестве прямого дополнения может употребляться инфинитив или герундий (-ing form). | |
Подлежащее Сказуемое Прямое дополнение Перевод | |
She likes to walk. Она любит ходить пешком. | |
She likes walking. Она любит прогулки пешком. | |
ГЛАГОЛЫ, ПОСЛЕ КОТОРЫХ ГЕРУНДИЙ И ИНФИНИТИВ УПОТРЕБЛЯЮТСЯ БЕЗ ИЗМЕНЕНИЯ СМЫСЛА | |
begin - начинать(ся) | |
continue - продолжать(ся) | |
prefer - предпочитать |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'exception_notification', :require => 'exception_notifier' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# setup color variables | |
color_is_on= | |
color_red= | |
color_green= | |
color_yellow= | |
color_blue= | |
color_white= | |
color_gray= | |
color_bg_red= | |
color_off= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.logo{ | |
background: url("/static/logo.png") no-repeat 0 0; | |
width: 181px; | |
height: 37px | |
display: inline-block; | |
margin-top: 20px | |
margin-left: 40px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def update | |
if params[:credit_card] | |
#process order | |
response = @order.process(params) | |
if response[:status] == "success" | |
render :template => "orders/show" | |
else | |
render :json => response | |
end | |
else |