Heroku Isn't for Idiots: developer time and comparative advantage Posted by schneems on June 04, 2012 — 0 comments Just found this great little post Heroku Isn't for Idiots and wanted to share. Hits a lot of points on why the author likes using Heroku, and has a good bit of technical ...
Chrome Networking: DNS Prefetch & TCP Preconnect Posted by igrigorik on June 04, 2012 — 0 comments Network latency is anything but free. To address this, Chrome learns the network topology as you use it via a number of predictor heuristics. Let's take a peek under the hood of the Chro...
Joosy, JS-фреймворк, привязанный к рельсамBoris Staal Мы зарелизили новый JS-фреймворк, который вопреки моде не копирует Backbone, а предлагает альтернативный подход. Его зовут Joosy. Вводный пост Сайт Joosy Статья "Getting started" Комментарии Пожалуйста авторизуйтесь, чтобы добавить...
rservicebus 0.0.1 A ruby implementation of NServiceBus install gem install rservicebus Download Documentation Subscribe Stats Authors Guy Irvine 36 total downloads 36 for this version Owners Links Homepage Gemfile gem "rservicebus", "~> 0.0.1" Versions 0.0.1 June 5, 2012
In an earlier post , Josh wrote about downloading, installing, and running a Campfire bot to make your day more productive and lot more hilarious. Today, we’re going to show you how we use our robot, Claptrap, for motivating us to quench our thirst of frothy and delicious iced lattes....
It was a fairly quiet week on the Rails front. Well, if you don't count multiple non-edge dot releases for security fixes. f9cb645d lets you use a block with Active Record counts: Person.where("age > 26").count { |person| gender == 'female' } . 5db367a7 changes the default Gemfile tem...
A recap of a couple of fun 'you got your music in my ruby' tools, a few gem updates, and a few useful gems to add to your toolbox on this edition of Ruby5. We recorded before the announcement, but its worth noting that Rails 3.2.5 was released last night.
so pretty and easy to set up, you’ll wonder if it’s really a wiki. Runs on Rails and focuses on portability and stability. Supports file uploads, LaTeX export, Atom feeds, S5 slideshows , multiple users and password protection. Some use Instiki as a CMS - Content Management System bec...
루비를 배울 수 이는 매뉴얼과 튜토리얼, 그리고 코딩할 때 도움이 되는 참조 문서를 정리합니다. 아직은 한국어 문서가 많지 않습니다. 다른 언어로 된 문서를 번역해주시면 큰 도움이 됩니다. 여기 언급되지 않은 좋은 문서도 알려주시기 바랍니다. 루비에 대한 책 도 출판되어 있습니다. 여기 에서 확인하세요. 초보자용 문서 Try Ruby! 초보자를 위한 웹 기반의 대화형 튜토리얼 입니다. 루비를 설치할 필요도 없이 웹 브라우저만 가지고 루비를 배울 수 있습니다! 루비 20분 가이드 루비의 기초를 다루는 튜토리...
Apr 25, 2007 | 7 minutes | Performance , Active Record If you need to display the record count for a has_many association, you can improve performance by caching that number in a column. Click to Play Video ▶ Tweet Download: mp4 Full Size H.264 Video (12.2 MB) m4v Smaller H.264 Video ...
Monday, June 4, 2012 at 6:00AM Hopefully this will post itself while I'm off in the woods. Regression in v3.2.5: precompiled assets aren't correctly found when using assets that have more than one extension - This one bit me on a production app; it'll bit you too if you have things li...
string-irc 0.2.3 add color codes for mIRC compatible client install gem install string-irc Download Documentation Subscribe Stats Authors Kohei Hasegawa 1,158 total downloads 209 for this version Owners Links Homepage Gemfile gem "string-irc", "~> 0.2.3" Versions 0.2.3 April 12, 2012 ...
Doorkeeper makes it easy to create an OAuth 2 provider. This episode also shows how to setup OmniAuth as an OAuth client and use the oauth2 gem to communicate with an API.
, we showed you how to build a versioned API for a store application. We can interact with this application through JSON if we visit the path /api/products . This API is completely public so anyone can use it to edit or destroy the products but usually we want to restrict access to an...
<%= button_to "New", :action => "new" %> # => "<form method="post" action="/controller/new" class="button_to"> # <div><input value="New" type="submit" /></div> # </form>" <%= button_to "New", :action => "new", :form_class => "new-thing" %> # => "<form method="post" action="/controller...
Validates whether the value of the specified attribute is in the correct form by matching it against the VAT picture for the appropriate country. class Person < ActiveRecord::Base validates_as_eu_vat_number :identifier, :with => :country_code validates_as_eu_vat_number :full_vat_numbe...
active_support_alias_class_method 1.2.0 A supplementary library of activesupport to provide alias_class_method and alias_class_method_chain install gem install active_support_alias_class_method Download Documentation Subscribe Stats Authors Kenta Murata 27 total downloads 8 for this v...
a static error page based on the status_code thrown, or just return headers if no such file exists. At first, it will try to render a localized static page. For example, if a 500 error is being handled Rails and locale is :da, it will first attempt to render the file at public/500.da....
When using the index method within a create_table statement, it does not have any side effect - at least not in MySQL. create_table :comment do | t | t . belongs_to :post t . timestamps # not working inside create_table ! t . index :post_id end It is working properly in change_table t...