You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
おそらく、誰もがやる深夜のWebサーフィンは、究極のところ時間の無駄ではないのかもしれない。 それは、Webで夢をみているのにほかならないのだ。(T.B=リー「Webの創成」より) さて、Vim導入メモを書いてから、早いものでもう一ヶ月経ってしまいました。 ようやく使い方にもそこそこ慣れてきたので、今回はVim導入の一番の目的でもあったRails開発についてまとめてみたいと思います。 Rails開発に役立つVimスクリプト(必須) Vim/Ruby Vim/Ruby Configuration Files これはVimでRubyを扱う際の最も基本的な拡張機能と思います。 .rb(ruby)と.rhtml(eruby)のファイルでシンタックスハイライトが有効になるほか、オムニ補完(<C-X><C-O>で表示される自動補完)も使えるようになります。 omni補完 - モデル内で「has」と入力
2010-09-19 ruby/rails/RailsGuidesをゆっくり和訳してみたよ/Getting Started with Rails 2010-09-18 ruby/rails/RailsGuidesをゆっくり和訳してみたよ Top 2010-09-16 search_result MenuBar 注意 † 英語が苦手なので、超意訳だよ。 表題に日本語がついているのは一応訳してあるけど、 古いバージョンだったり、適当な訳で清書していなかったり。 ちゃんと終わったものは、twitterでつぶやくから、よかったらフォローしてね。 ちゃんと終わったページ Railsのはじめ方(Getting Started with Rails) 最低でも一週間に一本以上は更新予定だけれど、 滞っている場合は、StarCraft2にハマってるから叱咤して下さい。 Rails 3を始める皆
ActiveRecord Capybara Cucumber Devise EnvYAML Git HAML Heroku Hoptoad Jammit jQuery Less CSS MongoMapper MongoHQ Mongoid MooTools OmniAuth Pow Prototype RailsAdmin Redis RedisToGo RightJS RSpec SASS Sequel Settingslogic Slim Test::Unit Use the default ActiveRecord database store. Use the Capybara acceptance testing libraries with RSpec. Use Cucumber for integration testing with Capybara. Utilize D
id:higepon に『rails.el も rails.vim も知らなかったよ!もっと早く知ってたら生産性が三倍になっていたのに!(一部誇張』と云われたので、rails.vim について ひげぽん OSとか作っちゃうかMona- - rails.el まとめ に沿った形で簡単に紹介したいと思います。 インストール 通常のインストール http://www.vim.org/scripts/script.php?script_id=1567 から rails.zip をダウンロードし、~/.vim/ 以下に展開します svn からのインストール vba (vim のパッケージングシステム)を使うので vim7 以上限定の方法ですが svn co http://svn.tpope.net/rails/vim/railsvim/ railsvim cd railsvim rake rails
2010.07.09 次世代Ruby on RailsサーバーUnicorn(汎用のRackアプリケーションサーバ)を使ってみた 2010.07.20追記: prefixを指定した運用も可能でした。ご指摘頂きありがとうございます。 2010.07.28追記: 関連記事「RailsサーバUnicornを飼いならす! 運用時の便利技」へのリンクを張りました。 Railsサーバはたくさんあってややこしいですね! 最近さらにUnicornというものが頭角を表してきたようで、Twitterやgithubも使っているようなので使ってみましたので、特徴や使い方などレポートしてみたいと思います。 このブログの他にもEngine Yardのブログ記事「Everything You Need to Know About Unicorn」やgithubの記事「Unicorn!」が非常に参考になると思いますので、
UPDATE: The DataObjects drivers, which are used in DataMapper, are now updated to honor default_internal. Let's keep this moving. Since Ruby 1.9 announced support for encodings, there has been a flurry of activity to make existing libraries encoding aware, and a tornado of confusion as users of Ruby and Rails have tried to make sense of it. In this post, I will lay out the most common problems peo
Free Web Resources Everyday - WebResourcesDepotRelated PostsRuby on Rails Task-Time Tracking App.: ClockingIT Free Ruby On Rails To-Do-List App.: Tracks Ruby On Rails Content Management System: Radiant Ruby On Rails ActiveRecords Manager Plugin: ActiveScaffold Ruby On Rails Social Network Plugin: Community Engine
■ [ruby] 大規模Railsサイトのための新しいHTTPサーバ、Unicorn githubの中の人が、ブログで「Unicorn使い始めて一ヶ月くらい経つけどいい感じだよ」と書いています。 適当に要点だけ拾ってみました。 Unicornって何よ? UnicornはRubyのためのHTTPサーバ。MongrelやThinのようなものだけど、全く違う設計と思想を持っている ありがちな構成 [mongrel] [mongrel] .. [nginx] -> [haproxy] -> [mongrel] [mongrel] .. [mongrel] [mongrel] .. 問題点: あるactionの処理に60秒以上かかったとき、Mongrelが当該スレッドをkillしようとして固まることがある メモリが一定量を超えたときMongrelを再起動するのが遅い。 デプロイ時に9個のmongre
Action Mailer can be configured to receive incoming email and interact with the domain model of the application on the basis of the content. A few examples of what that could be used for: Posting to your weblog (possibly from your mobile phone) Uploading pictures that are then thumb-nailed with RMagick Recording a bug in your tracker when the application crashes Let’s consider the following Action
Railsアプリでメールを受信して処理 ActionMailer::Base.receive(STDIN.read) とかやる 受信のたびに起動とか重いよ! SMTPサーバとRailsアプリのサーバが違うと面倒 ってことで、コントローラで処理させるための簡単なスクリプトを書いた。 使うことに以下のようなメリットがある。 起動負荷の軽減、高速化 SMTPサーバとアプリサーバが違っても問題なし 受信メール処理用のサーバを複数指定してロードバランシング 改良すべき点 処理サーバへのアクセスに失敗した際、キューにためておき、後で試す。 ※注意 当然無保証です。自己責任でどうぞ。#!/usr/bin/ruby # mail-proxy.rb # /etc/aliases # user: "| /path-to-script/mail-proxy.rb" require 'uri' require '
The most popular Ruby on Rails CMS With more than 825,807 downloads, 3,890 watchers on GitHub and 384 contributors, Refinery is the leading open source CMS on the Ruby on Rails framework. View on Github Latest stable gem version 4.0.3 - Last updated 2023-05-22 by GitHub. Refinery CMS is perfect for creating custom content manageable websites. We use "The Rails Way" where possible so you have to le
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く