From a monolithic Ruby on Rails app to the JVM Presentation Transcript Sunday, March 10, 13 From a monolithic Ruby on Rails app to the JVM phil calçado @pcalcado http://philcalcado.com JDC2013 - CairoSunday, March 10, 13 2011: Phil decides to... 続きを読む
The TOKYO Rails Meetup Group is aimed at web engineers who are using, or are interested in learning more about the Ruby on Rails framework. We want to encourage all Rubyists and Railers to join us onThe TOKYO Rails Meetup Group is aimed at we... 続きを読む
Ruby on RailsのメジャーバージョンアップとなるRails4のリリースが近づいて来ました。先日、日本人(あるいはアジア人)として初めてRailsコアチームのコミッタとして迎え入れられた松田明氏によると、Railsの生みの親であるDavid Heinemeier Hansson氏(以下... 続きを読む
DB Charmer - ActiveRecord Connection Magic Plugin DbCharmer is a simple yet powerful plugin for ActiveRecord that does a few things: Allows you to easily manage AR models’ connections (switch_connection_to method) Allows you to switch AR mod... 続きを読む
This method is designed to perform select by a single column as direct SQL query Returns Array with values of the specified column name The values has same data type as column. Examples: Person.pluck(:id) # SELECT people.id FROM people Person... 続きを読む
README.md RailsPanel RailsPanel is a Chrome extension for Rails development that will end your tailing of development.log. Have all information about your Rails app requests in the browser - in the Developer Tools panel. Provides insight to d... 続きを読む
README.md ViewSourceMap This is a Rails plugin to insert the path name of a rendered partial view as HTML comment in development environment. Usage In your Gemfile 続きを読む
流しのフェローが Ruby 2.0.0 速いって言ってたので、いやいや速いっていっても〜、と思って社内の ruby 1.9.3 な Rails プロジェクトで 2.0.0dev 使ってみたら 1.9.3 [5]>_<X time bx rails runner 'puts Rails' Rails bundle exec rails runner 'puts Rails' ... 続きを読む
One of the things we’ve added to our applications in the last few months is a little gem that (among other things) adds a comment to each MySQL query that is generated by one of our applications. Now, when we look at our Rails or slow query ... 続きを読む
These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together. There are two different versions of the Guides site, and you should be sure to use the one that applies to... 続きを読む
Copyright © 2012 GitHub Inc. All slide content and descriptions are owned by their creators. F.A.Q. Terms of Service Privacy Policy 続きを読む
Ryan Paul has written an excellent behind-the-scenes look at LinkedIn’s mobile engineering. While the mobile part of the story--23% mobile usage; focus on simplicity, ease of use, and reliability; using a room metaphor; 30% native, 80% HTML;... 続きを読む
Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced programmers.Need to ensure your background processes stay up and running and don't use too many resources? Check out the god gem as s... 続きを読む
Pry is an alternative to IRB and sports many great features. Here I show how to integrate it into a Rails app, and how it can aid in debugging. 続きを読む
スライドを SpeakerDeck に上げました。 続きを読む
bundle-exec(1) bundle-exec(1) NAME bundle-exec - Execute a command in the context of the bundle SYNOPSIS bundle exec command DESCRIPTION This command executes the command, making all gems specified in the Gemfile(5) available to require in Ru... 続きを読む
Recently a queueing system was added to Rails. Let's dive in and see how to use it. Run, baby, run! The queueing API is very simple. You push an object on to the queue and that object is expected to respond to a run method. Let's take a look:... 続きを読む
I was bouncing around the Rails API documentation yesterday, and I noticed a few rails console tricks I haven’t seen before. There’s been plenty of posts about irb and Rails before, but I’m hoping you’ll learn something new here. The foll... 続きを読む
Extraction of the ActiveRecord::Base#import functionality from ar-extensions for Rails 3 and beyon 続きを読む
Cookpad was Diamond Sponsor at RailsConf in Austin Texas this year, and what an amazing event it was! Thanks to all the organizers and other sponsors for all the hard work. We had a great team at the event, and got to meet so many amazing fol... 続きを読む
AさんはRailsで書かれたある遅いコードの検証をしていました。 X-Runtimeヘッダを見ると $ curl -Is localhost:3000/hello | grep X-Runtime X-Runtime: 5.008580 5秒もかかってる。 しかしRailsのログを見ると Started HEAD "/hello" for 127.0.0.1 at Tue Apr... 続きを読む
綺麗に手順を踏んでやる場合には Ruby 初心者は躓くところが多い && 最初の学習コスト高いというのは納得。なおWebエンジニアの場合、こんな感じなのかな。たぶん。 Windows だといろいろうまくいかないので Mac 買う or 仮想マシンに Linux 入れる Mac ならhom... 続きを読む
Shota Fukumori (sora_h)'s blog about Ruby, Gentoo, etc. 気になって調べたのでメモ。自分も気をつけないとなー。 Public Key Security Vulnerability and Mitigation github に脆弱性があってそれが突かれたらしい。Rails アプリにありがちな脆弱性の一つ、M... 続きを読む
Search About Me Daic-h RailsでアジャイルなRubyプログラマ 最近はjavascript成分高め Rss Twitter Facebook Github Aboutme Recent Entries cookpad/chankoをゆっくり読み進める その2 MethodProxy cookpad/chankoをゆっくり読み進める その1 Invoker Rack M... 続きを読む
開発基盤グループ 森田です 以前、クックパッドで取り組んでいるExtensionの仕組みを紹介させて頂きました。 今現在もクックパッドでは、プロトタイプやβ開発は全てこの仕組みの上で進めています。 http://techlife.cookpad.com/2011/07/15/extension-framework... 続きを読む
The missing administration framework for business critical Ruby on Rails applications. Active Admin is a Ruby on Rails plugin for generating administration style interfaces. It abstracts common business application patterns to make it simple ... 続きを読む
基本設定編で最低限の設定が終了したので、今度はサービスを公開するための環境を整えました。nginx周りがよく分かりませんでしたが、とりあえず動くところまでは行けたので、プロトタイプを作ってすぐ人に見せれる環境が出来ました。 まずは後からビルドで必要... 続きを読む
最近クックパッドでは、アプリケーションサーバの大半が Rails 2.3 から Rails 3 に置き換わったのですが 3 移行はクックパッド規模になるとかなり大変でしたが、いろいろな面白いアプローチを試せたので、これはこれで何処かでお話ししたいですね">*1、リリー... 続きを読む
技術部開発基盤グループの森田です 昨日の2011年7月14日、「Ruby Recipes and Japanese Cooking At Cookpad」におきまして、「どんどん使う」と題し、弊社で開発/運用しているExtension Frameworkの紹介をさせて頂きました。その際に利用したスライドを公開致し... 続きを読む
The Speaker May 18, 2011 Aman Gupta Ruby might be slow, but bad code only makes it worse. This talk will teach you how to use powerful tools to see how your code is executed, so you can understand, debug and optimize it. Download Slides as a ... 続きを読む
I’ve been working on revamping the Active Record query interface for the last few weeks ( while taking some time off in India from consulting work, before joining 37signals ), building on top of Emilio’s GSOC project of integrating ARel and... 続きを読む
以下のコードをロードすると、 Bundler 管理外の gem ライブラリを force_require というメソッドでロードすることができる。 Rails だと config/initializers 以下に置いておくとよいかもしれない。 僕は config/initializers/__.rb というファイルを作ってそ... 続きを読む
Rails新年になると、「今年こそはちゃんとブログを書こう」と思うのがおれです。今年もよろしくお願いします。書初め*1ということで、Railsで何か作ることにしました。新しく始めるので、ちゃんとメモを取ろうと思ったわけです。以下はRailsプロジェクトを始め... 続きを読む
Haml is a markup language that’s used to cleanly and simply describe the XHTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml a... 続きを読む
What? A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration and searching. Why? Sphinx is a very fast search engine that indexes data and provides flexible ways of searching it. ... 続きを読む
rubyRailsで、ActiveRecordがSQLのログを吐いてくれるんですが、これだとどのクエリがどこから呼ばれたのか分からなくて、デバッグがしにくい。 Schedule Load (0.023687) SELECT * FROM schedules WHERE (schedules.id = 3) LIMIT 1 Resource Load (0.001076) ... 続きを読む
Installation First, you’ll need to install Sunspot::Rails, which integrates Sunspot search seamlessly into your Rails app. This will install Sunspot and RSolr as dependencies. $ sudo gem install sunspot_rails Add it to your config/environmen... 続きを読む
ActiveTokyoCabinet - a library for using Tokyo(Cabinet|Tyrant) under ActiveRecord. Copyright © 2010 SUGAWARA Genki Description ActiveTokyoCabinet is a library for using Tokyo(Cabinet|Tyrant) under ActiveRecord. ActiveTokyoCabinet depend on To... 続きを読む
Introducing Phusion Passenger™ Phusion Passenger™ — a.k.a. mod_rails or mod_rack — makes deployment of Ruby web applications, such as those built on the revolutionary Ruby on Rails web framework, a breeze. It follows the usual Ruby on Rai... 続きを読む
All the power of the Solr search engine; all the beauty of Ruby. Sunspot exposes all of Solr's most powerful search features using an API of elegant DSLs. That means robust, flexible fulltext search with no boolean queries and no string progr... 続きを読む