I come from a PHP background, but these days, I'm a full-time Rails developer. The difficulty for most people who make the switch lies in the learning curve that’s involved. Once you've become proficient in a language or framework, switching to a new one feels like an unnecessary (and time-consuming) challenge. However, learning Ruby and Rails is actually pretty easy! It's an incredibly powerful f
はじめに どうもKRAYの芳賀です。 今日はツイッターサービスをスピーディーかつ無料で作るお話です。 僕は日頃趣味でツイッターサービスを作っているのですが、アイデアを着想したその日のうちにプロトタイプを作って動かすことができるくらいにノウハウが溜まってきました。 仕事が終わってからのプライベートな時間だけでも、1週間から1か月もあれば1つサービスがリリースできる感覚がつかめたので、必要最低限の機能を備えたサービスを短時間で作れないだろうか?と時間を計測しつつ実践してみたところ、なんと1時間で完成できたので、その手順を紹介します。 開発の流れ まずは開発の流れを説明します。 ツイッターアカウントの用意 まずツイッターのアカウントが必要になるので、まだ持っていなければ取得しましょう。サービス用に改めて取得してもいいですね。 サーバの用意 作成したウェブアプリを設置するサーバを準備します。PHP
Github に脆弱性。やった人は Rails に有りがちな脆弱性を issue に挙げていたが相手にされず、実際にそれを突いてきた。一見 childish だが、それだけ簡単に脆弱な実装がなされてしまうということだ。週明けの今日、Rubyist はまず関連情報に一読を。 — Yuki Nishijima (@yuki24) March 4, 2012 気になって調べたのでメモ。自分も気をつけないとなー。 Public Key Security Vulnerability and Mitigation - github.com/blog/ github に脆弱性があってそれが突かれたらしい。 Rails アプリにありがちな脆弱性の一つ、Mass assignment とかいうタイプの脆弱性である。 mass assignment 脆弱性とは mass assignment 脆弱性とは何か、
Ruby on Railsの,バージョン間での違いのまとめ。 一覧表を見て,Ruby on Railsの発展・遷移の歴史をたどる事ができる。 また,各バージョンの仕様の変化(リリースノート)についてのリンク集も掲載。 一覧表(簡易年表) 現時点での最新版と,次期バージョンの計画まで。 バージョン リリース日 特徴 初代 2004年7月 ・DHHが一般公開 ・15分でブログ作成のデモが話題に 1.x系 1.0 2005/12/14 ・初の正式リリース ・既に高い知名度だった ・機能面では0.14と差異なし ・パラダイムはDRY+CoC 1.1 2006/03/26 ・Ruby 1.8.4推奨 ・各種ライブラリ改良 1.2 2007/11/24 ・1系の安定版(1.2.6) ・Ruby 1.8.6推奨。1.8.7では動かず 2.x系 2.0 2007/12/07 ・デフォルトDBがSQLite
まずは http://centos.bungu-do.jp/2008/05/vpsyum.html を参照して、yumとその依存するrpmをwgetします。 # wget ftp://ftp.riken.jp/Linux/centos/5.2/os/x86_64/CentOS/yum-3.2.8-9.el5.centos.1.noarch.rpm # rpm -ivh yum-3.2.8-9.el5.centos.1.noarch.rpm warning: yum-3.2.8-9.el5.centos.1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 error: Failed dependencies: python-elementtree is needed by yum-3.2.8-9.el5.centos.1
=============== 2010-04-18追記 まとめました。 ゼロから構築する rails環境 =============== いつもの通りにCentOSにrailsを入れようかな~、フンフン♪~、と思って構築しだしたのですが、何か大変だったのでメモ。(全部rootで作業してます。) ほとんどまっさらのCentOSにyumでrubyインストールしてgems入れようとしたら面倒でした。 # yum install ruby ruby-devel rdoc # wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.6.tgz # tar xzf rubygems-1.3.6.tgz # cd rubygems-1.3.6 # ruby ./setup.rb ERROR: Expected Ruby version
Rails 3.0 has been underway for a good two years, so it’s with immense pleasure that we can declare it’s finally here. We’ve brought the work of more than 1,600 contributors together to make everything better, faster, cleaner, and more beautiful. This third generation of Rails has seen thousands of commits, so picking what to highlight was always going to be tough and incomplete. But here’s a choi
11月20日夜、Twitterが国内で本格的に普及してから初めて、「天空の城ラピュタ」がテレビ放映された。多くのユーザーが視聴しながらTwitterに関連の話題を投稿し、タイムライン(TL)はラピュタ一色に。最も負荷が高かったとみられる「バルス」の瞬間も、Twitterサーバは安定稼働を続けた。 天空の城ラピュタは、ほぼ2年おきの地上波放送のたびに「2ちゃんねる」のサーバを陥落させてきた。関連する板には大量の関連書き込みが投稿され、「人がゴミのようだ」というムスカの名シーンの後に迎えるクライマックスでパズーとシータが滅びの呪文「バルス」を唱えると、「バルス」の大量書き込みの負荷に耐えきれず関連板のサーバが落ちる――というのが恒例行事のようになっていた。 20日夜はTwitterが本格普及してからの初の放送。バルスの負荷にTwitterサーバが耐えられるかにネットユーザーの注目が集まっていた
I write regularly on HEY World and speak on The REWORK Podcast. You can also find me on X, LinkedIn, Instagram, and YouTube. Or send me an email to dhh@hey.com. Creator of Ruby on Rails Hundreds of thousands of programmers around the world have built amazing applications using Ruby on Rails. The open-source web framework that I created in 2003, and continue to develop to this day. Some of the more
Rails-2.2.2で動いているRailsアプリをRails-2.3.2に移行する場合、 pre>> % rake rails:update <<-- を行うと便利ですが、これを実行すると、以下のようなファイルが影響を受けます。 pre>> Changed but not updated: (use "git add/rm ..." to update what will be committed) deleted: app/controllers/application.rb modified: config/boot.rb modified: config/environment.rb modified: public/javascripts/controls.js modified: public/javascripts/dragdrop.js modified: public/j
Hi, I am trying to deploy a trivial rails application on an apache server, using the, as I understand obsolete, CGI way. First of all, some versions: System: Debian 5.0 Apache: Apache 2.2.9 Ruby: 1.8.7 Gem: 1.3.1 (manually installed, downloaded from rubyonrails.org) Installed gems: actionmailer (2.3.2) actionpack (2.3.2) activerecord (2.3.2) activeresource (2.3.2) activesupport (2.3.2) rails (2.3.
Rails 2.3 delivers a variety of new and improved features, including pervasive Rack integration, refreshed support for Rails Engines, nested transactions for Active Record, dynamic and default scopes, unified rendering, more efficient routing, application templates, and quiet backtraces. This list covers the major upgrades, but doesn't include every little bug fix and change. If you want to see ev
始めに Windows 環境で Rails 2.2 を使える環境を作ろうとしたところ、MySQL5.1 を使用するとライブラリの関係で正しく動作しないという事象が発生したので、ゼロから環境を構築する手順と合わせてハマり所を記載しておく。 ちなみに、Rails 2.2 であることが原因では無い(ハズ)なので、勘違いしないよう、ご注意ください。 Ruby 環境のインストール Ruby 本体のインストール 上記から Ruby 1.8.7 の mswin 版 zip を取得する。 適当に解凍する(必要があれば適当なディレクトリへ移動しておく) PATH を通す 今回は C:\ 直下に ruby フォルダを作成しておく事にした。追加するPATHは C:\Ruby\bin となる。 さて、PATHが通っているか確認してみよう。 C:\>ruby -v ruby 1.8.7 (2008-08-11 pa
Rails is an model-view-controller Web framework written in the Ruby programming language. One of its great appeals is being able to quickly crank out CRUD-based Web applications. A big advantage of Rails over other frameworks is that it values convention over configuration. If you follow the correct conventions, you can avoid lengthy configuration of files, and things just work! Therefore, you spe
Last week we published Getting Started With Ruby On Rails, the first part of our Ruby On Rails introduction. We explained basic ideas behind Ruby and presented concepts and essential components of the language. In this article you’ll learn more about Rails, you will learn how to get Ruby on Rails running on your computer, and get an overview of the basic functionality of Rails and demonstrate how
About The AuthorJan Varwig is a programming language enthusiast, currently writing his CS diploma thesis about server-side JavaScript, and a software developer with 10 years of … More about Jan ↬ If you’re a Web developer who’s been curious about Ruby on Rails but has never gotten around to trying it out because you couldn’t find a suitable overview of its advantages, then this article is for you.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く