High Quality Symfony Bundles tutorial - Dutch PHP Conference 2014Matthias Noback
By Ross Allen One of the major nerd goals for Airbnb in 2011 was upgrading to Rails 3. Our production instances made the final switch in the week leading up to Thanksgiving, but it didn’t happen all at once. Breaking the Upgrade into 3 StepsWe added the required pieces throughout the past year, and, looking back, breaking the upgrade into three major steps was easier to manage than trying to cram
Windows上でのRails3の環境構築に毎回ちょっとはまって、同じようにググって解決しているので自分用備忘録です。 #間違いあったら指摘してくれると嬉しいです。 ◆ゴール Ruby1.9.3 + Rails3 + SQLite で動くアプリの動作確認をする。 ◆Rubyのインストール ダウンロード先はこちらで「RubyInstaller」を選択します。 インストールは任意の場所で良いですが、全角文字やスペースがあるパスは避けた方が良いと思います(私は「c:\myapp\ruby193」のようにしています)。 コマンドプロンプトで「ruby -v」でインストールしたバージョンが表示されればOKです。 ruby 1.9.3p0 (2011-10-30) [i386-mingw32] ※うまく表示されない場合は<インストール先フォルダ>\binにPATHが通っているか確認してみてください。
Recently I've performed the upgrade of Ruby on Rails which we use in Checkvist project from 2.3 to 3.1. There were tons of issues I've had to overcome, some of them I share here, may be they could save someone's time. First, upgrade or not upgrade? This is a tough question. Upgrading of a non-trivial project may take several days, and at the end you may get a system which performs worse than befor
このあたりを見て。 Railscasts - Upgrading to Rails 3 Part 2 ASCIIcasts - “Episode 226 - Upgrading to Rails 3 Part 2” Railscasts - Upgrading to Rails 3 Part 3 今週のrailscasts - Upgrading to Rails 3 Part 1 - maeshimaの日記の続き。やっぱり基本的なところは知ってるので気になったところだけメモ。 lib ディレクトリ Rails3 RC は lib ディレクトリの中身を自動で require してくれない!ので config.autoload_path += "#{Rails.root}/lib" のようにする必要がある。 preinitializer.rb Rails2では、initializeする前の処
With the first Rails 3 Release Candidate available in a few days and the final version just around the corner, it's time to start thinking in The Rails 3 way. Many developers, including myself, already started to work with Rails 3 and many others are tracking the changes, waiting for the right time to upgrade their Rails 2 applications. There are already thousands of articles talking about the mos
参考ページ Arel の概要は技術評論社のページを参照。 Ruby Freaks Lounge:第43回 Rails 3を支える名脇役たち その1 - Arel -|gihyo.jp … 技術評論社 はじめに サンプルとして、下記のようなModelとデータベースを作成してある。 $ rails g model book name:string $ rails g model user name:string lang:string age:integer book:references books id name 1 レガシーコード改善ガイド 2 情熱プログラマ 3 メタプログラミングRuby users id name lang age book_id 1 sinsoku python 24 1 2 _ryog java 24 2 3 NowTom ruby 28 3 4 tosikaw
一人で使ってるscaffoldに毛が生えたようなRails 2.3.5のアプリをRails 3.0にアップグレードするまでのメモです。あんまり情報もないので手探りでやってみて、その後に「こうやるといいのかなー」というのをまとめました。もっといい方法あったら教えてください。 Rails 3.0は既にインストール済みのものとして話を進めてます。 rails_upgradeのインストール Rails 3 へのアップグレードを補助するプラグイン rails_upgrade をインストール script/plugin install git://github.com/rails/rails_upgrade.git バックアップ rake rails:upgrade:backup で主要なファイルをバックアップ Gemfileの作成 rake rails:upgrade:gemsの出力結果をGemfi
環境 Debian GNU/Linux testing 準備 まずは、パッケージをまとめて最新状態にする。 % sudo aptitude update % sudo aptitude safe-upgrade % ruby -v ruby 1.8.7 (2011-02-18 patchlevel 334) [i486-linux] Ruby gemのアップグレード % sudo gem1.8 update --system % gem1.8 -v 1.6.2 Ruby on Railsのアップグレード % sudo gem1.8 update rails % rails -v Rails 3.0.5bundlerが自動でアップデートされないので個別にアップデート。 % sudo gem1.8 update bundler 公開環境のpassengerアップグレード passengerをア
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く