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
とりあえず動かしてみたのでメモ。 unicornを動かす まずはgemをインストール。 $ gem install unicorn unicornの処理を設定する $ cd <RAILS_ROOT> $ vi config/unicorn.rb <RAILS_ROOT>/config/unicorn.rbはこんな感じ(nginx + unicorn を試してみたからほぼそのまま拝借): # ワーカーの数 worker_processes 2 # ソケット経由で通信する listen File.expand_path('tmp/sockets/unicorn.sock', ENV['RAILS_ROOT']) # ログ stderr_path File.expand_path('log/unicorn.log', ENV['RAILS_ROOT']) stdout_path File.exp
おそらく、誰もがやる深夜の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」と入力
It used to be a jarring experience to setup a new machine for development, but progress has paved the dirt road into a silky smooth autobahn. These are the tools we use today: Homebrew: Remember how painful it used to be to get imagemagick installed? Now it takes about a minute. “brew install imagemagick”. Same story for git and other Linux dependencies. rbenv/ruby-build: We have some apps running
You are building a Ruby on Rails 3 web app. You do not yet have user authentication or registration for your app. A future article will show you how to add Google OpenID to your authlogic app, but this article is all about starting from scratch. You want your users to use their Google Accounts for their identity. You have a model named User which represents a registered user in your system. (Once
INDEX PAGE require_dependencyとrequireの違い 色々なソースの中でrequire_dependencyというのがでてくるが いったいどういう意味なのかよく理解できずに利用していました。 自分でかいたことはほぼないのですが そろそろまじめに調べてみようと思いソースを読もうとしましたが Googleで調べたら詳しく説明しているサイトが。 http://www.pistolfly.jp/weblog/2007/06/require-dependency.html まとめると ■require ・Rubyの機能 ・指定したRubyファイルを読み込む ・既に当該ファイルがキャッシュ済みならそちらを読みこむ ■require_dependency ・Ruby On Railsの機能 ・指定したRubyファイルを読み込む ・既に当該ファイルがキャッシュされていても再度読
Whispered Press Release Distribution Tips Secrets If your press release is speaking about a regular item or a service that’s very similar to everything else out there in the marketplace already, maybe it doesn’t even get opened. The executive press release distribution is made by the organization and can contain personal in addition to biographical info to support the data. A proper press release
Description Am not sure whether this has been encountered by anyone else. I updated the my gems here with gems update to get the newest rails stuff. I also use mongrel_rails as my Web Server behind an Apache. The server start however while accessing any page I got this message: /usr/bin/mongrel_rails:18 Expected /var/www/rails/shop/config/../app/controllers/shop_controller.rb to define ShopControl
It took longer than we thought, but then again, what doesn’t? This is the second beta release of Rails 3.0 and hopefully our last stop before a release candidate. There are still a handful of known regressions (see the list at the end), but we’ve made huge strides since the last release and so have auxiliary tools like Bundler. You can find all the detailed changes in the the CHANGELOGs for each f
You thought we were never going to get to this day, didn’t you? Ye of little faith. Because here is the first real, public release of Rails 3.0 in the form of a beta package that we’ve toiled long and hard over. It’s surely not perfect yet, but we were out of blockers on the list, so here we go. Please give it a run around the block, try to update some old applications, try to start some new ones,
In working on Rails 3 over the past 6 months, I have focsed rather extensively on decoupling components from each other. Why should ActionController care whether it's talking to ActionView or just something that duck-types like ActionView? Of course, the key to making this work well is to keep the interfaces between components as small as possible, so that implementing an ActionView lookalike is a
This is the third post in a series detailing information about the newly announced Google App Engine support for Java. In this post I thought I’d go through the steps you need to take to get a JRuby on Rails application working on GAE/J, and also what kind of characteristics you should expect from your application. You need a fairly new copy of JRuby. Most of the changes needed to JRuby was added
Just released updated versions of Mac OS X dictionaries for Ruby and Rails, which you can download here: It took me some time since the Dictionary Development Kit was excluded from default installation of Mountain Lion and i had to make few changes to rubydictionary gem i use to build these dictionaries. Another news is that rubydictionary gem is now updated to version 1.0 and can be used to build
悪い冗談としか思えないんだけど、Merb と Rails が統合されるらしい。 Merb gets merged into Rails 3! by DHH (Rails 作者) Rails And Merb Merge by Yehuda Katz (Merb 主任開発者) Rails and Merb core team working together on their next release by Matt Aimonetti (Merb コアチームメンバー & merb-book リーダー) Merb *is* Rails by Ezra Zygmuntowicz (Merb project 創始者 & EngineYard 共同設立者) Rails and Merb Bury the Hatchet (Rails の有名ブログ) 実は 1 週間前に、DHH が Merb の信者
http://www.ruby-lang.org/ja/news/2008/08/23/dos-vulnerability-in-rexml/ 先日公開された、REXML の脆弱性ですが、「あーそうなんだ、でもうちの Rails のサービスじゃ REXML でパースする処理なんて書いてないから別にいいや」とか思っている方、大変危険です。みんなパッチあてようよ! XML entity explosion attackと呼ばれる攻撃手法により、ユーザから与えられたXMLを解析するようなアプリケーションをサービス不能(DoS)状態にすることができます。大部分のRailsアプリケーションはこの攻撃に対して脆弱です。 REXMLのDoS脆弱性 と書いてある通り『大部分のRailsアプリケーションはこの攻撃に対して脆弱』なのです。たぶん今世の中にある Rails な Web サービスの9割が現状でも、
メディア 記事一覧 オルタナティブ・ブログ 用語辞典 ITmedia エンタープライズ Expired:掲載期限切れです » ページトップへ 検索 注目のテーマ 人気記事ランキング Microsoft、VBScriptの段階的な廃止のスケジュールを公開 「君が欲しい」と言わせるIT部門の資格 年収アップ、転職のコツも解説 生成AIの悪用が本格化する具体的なタイミングはいつか? IBMが指摘 VMware、Workstation Pro 17とFusion Pro 13の個人利用を無償化 その狙いを探る 「アダルトビデオが無料です」――IE標的のトロイの木馬に要注意 Microsoftのセキュリティ大変革 有識者たちはこれをどう評価しているのか? Microsoftがセキュリティ大変革に“本腰” 報酬体系を変更して6つの領域を強化 ドローンいらず? 飛行動画作成できる「Google Eart
What is Scribd?AcademicProfessionalCultureHobbies & CraftsPersonal GrowthAll Documents
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く