This file contains 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
<ul> | |
<% @orders.each do |order| %> | |
<li> | |
<!-- Show order stuff --> | |
</li> | |
<% end %> | |
</ul> | |
<%= will_paginate @orders %> |
This file contains 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
npm install -g jsdom | |
npm install -g jquery |
This file contains 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
Array::contains = (value) -> | |
length = @length | |
for i in [0...length] | |
return true if value is @[i] | |
false |
This file contains 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
apt-get install libqt4-dev | |
gem install capybara-webkit |
This file contains 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
es: | |
resources: | |
users: 'usuarios' | |
resource: | |
contact: 'contacto' | |
named_routes: | |
about-us: 'quienes-somos' | |
routes: | |
jobs: | |
as: 'trabajos' |
This file contains 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
apt-get install libxslt1.1 libxslt1-dev libxslt-ruby |
This file contains 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
git clone git://github.com/resolve/refinerycms.git ~/refinerycms-edge |
This file contains 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
apt-get install libreadline-dev | |
rvm pkg install readline | |
rvm remove 1.9.2 | |
rvm install 1.9.2 | |
rvm --default 1.9.2 | |
rvm use 1.9.2 |
This file contains 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
Demo::Application.configure do | |
# ... | |
config.action_mailer.delivery_method :smtp | |
config.action_mailer.smtp_settings = { | |
enable_starttls_auto: true, | |
address: 'smtp.gmail.com', | |
port: 587, | |
authentication: 'plain', | |
user_name: '<[email protected]>', | |
password: '<password>' |
This file contains 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
if($('#container').is(':not(:visible)')) $('#container').show('blind', 1000); | |
$('#container').html('<%= render @content %>'); |
OlderNewer