ブログ パスワード認証 閲覧するには管理人が設定した パスワードの入力が必要です。 管理人からのメッセージ https://mac-tegaki.comへ移転中 閲覧パスワード Copyright © since 1999 FC2 inc. All Rights Reserved.
ブログ パスワード認証 閲覧するには管理人が設定した パスワードの入力が必要です。 管理人からのメッセージ https://mac-tegaki.comへ移転中 閲覧パスワード Copyright © since 1999 FC2 inc. All Rights Reserved.
Better nested set This plugin provides an ehanced acts_as_nested_set mixin for ActiveRecord, the object-db mapping layer of the framework RubyOnRails. The original nested set feature seems to be quite old and missed some necessary functionalities. Details This acts provides Nested Set functionality. Nested Set is a smart way to implement an ordered tree, with the added feature that you can select
RailsShugoさんが作ったrailsプラグインの"safe_record"のメンテナになりました.safe_record rails plugin初仕事として宣伝などしたいと思います. safe_recordとはsafe_erbのSQL版というと分かる人は多い?かも知れません.Railsでアプリケーションを作る際にSQLインジェクションを減らせるような安全なコードを無理矢理書かせるpluginです. # raise exception!! post = Post.find(:first, :conditions => "title = '#{params[:title]}'") こういったコードだと,もしtitleに"hoge' or foo ='fuga"などのデータを入れられた場合ちょっと怖いですよね.なのでこういうものは例外を出力します. tainted sql: SELECT
RailRoad is a class diagram generator for Ruby on Rails applications.RailRoad is a class diagrams generator for Ruby on Rails applications. It's a Ruby script that loads the application classes and analyzes its properties (attributes, methods) and relationships (inheritance, model associations like has_many, etc.) The output is a graph description in the DOT language, suitable to be handled w
第1回 つらくないケータイWeb開発 設樂 洋爾 2008/10/20 何かと注文の多い日本の携帯電話向けWebサイト構築。jpmobileで、Ruby on Rails流の、つらくない携帯Webサイトを開発しよう(編集部) 本連載では、Ruby on Rails(Rails)をすでに利用されている方を対象に、Rails用プラグインjpmobileを使って携帯向けWebサイトを構築する方法を紹介します。 jpmobileは日本の携帯電話向けのサイトを構築するときに生じる厄介事を、Ruby on Rails流のやり方に倣って解決するためのプラグインです。 Mobile web development that doesn't hurt 日本の携帯電話は「ガラパゴス」と称され、時にやゆされもするように、良くも悪くも独自の進化・発展を遂げてきました。現代人の生活に密着して存在する携帯電話は、位置
来年も作りたい!ふきのとう料理を満喫した 2024年春の記録 春は自炊が楽しい季節 1年の中で最も自炊が楽しい季節は春だと思う。スーパーの棚にやわらかな色合いの野菜が並ぶと自然とこころが弾む。 中でもときめくのは山菜だ。早いと2月下旬ごろから並び始めるそれは、タラの芽、ふきのとうと続き、桜の頃にはうるい、ウド、こ…
@niftyのウェブサービスの一覧と、@niftyのウェブサービスを使ったみんなのアプリケーションを紹介します。Ruby on Rails(ルビー オン レイルズ)はオープンソースのWebアプリケーション開発フレームワークです。 @niftyのサービスでは@nifty TimeLine、アバウトミー、ツクシィ、いたがきなどがRuby on Railsを用いて開発されています。 Ruby on Rails プラグインとは Ruby on Rails プラグインとは、Ruby on Railsで構築したアプリケーションに独自機能を追加できる機構の名称です。@niftyのポータル/CGMサービス用に開発したRuby on Railsプラグインをオープンソースソフトウェア(MITライセンス)として提供します。 ActiveRecordBrowser テーブルの管理機能を提供するプラグイン
● [Rails] 簡単な認証機能が欲しい (#2) http://wota.jp/ac/?date=20060521#c 神キターーー!! /ヽ /ヽ / ヽ / ヽ / ヽ__/ ヽ ┏┓ ┏━━┓ / \ .┏━┓ ┏┛┗┓┃┏┓┃ / \ / | .┃ ┃ ┗┓┏┛┃┗┛┃┏━| > < |━┓┃ ┃ ┏┛┗┓┃┏┓┃┃ |. (__人__) | ┃┃ ┃ ┗┓┏┛┗┛┃┃┗━ヽ \/ / ━┛┗━┛ ┃┃ ┃┃ / \ ┏━┓ ┗┛ ┗┛ /  ̄ ̄ヽ / ̄ ヽ .┗━┛ .ヽ_______/
restful_authenticationに権限(role)管理を追加して、実用的に利用するカスタマイズ例として、Restful Authentication with all the bells and whistlesを参考にいろいろ考えてみた。コードを読みながら、次第に以下のような疑問や考えが浮かんできた。 メール送信処理のきっかけに、なぜobserverを利用するだろうか? observerはコールバック(before_createとかafter_save等)を外部のオブザーバーオブジェクトで処理するようなもの。 モデル自身のコールバックとして処理しても良いはず。 restful_authenticationの実装を見ると、コールバックの中で条件によって処理を分岐するために、モデルの状態をインスタンス変数にわざわざ保存している。 例:@activated = true、@forg
By JeremyVoorhis, ShachafBenKiki?, topfunky and others calendar_helper was created by JeremyVoorhis in 2005, with inspiration from ASP.NET’s System.Web.UI.WebControls.Calendar. calendar_helper allows you to draw a databound calendar with fine-grained CSS formatting and without introducing any new requirements for your models, routing, etc. calendar_helper was initially released as a single file, c
近頃は、GitHubやcutagemのお陰で、 Gemを作ったり公開したりするのがどんどん簡単になってきています。 そうなると、今までRailsプラグインとして作っていた機能についても、 バージョン管理機能を持ったGemの形で公開したほうが便利かも知れません。 そんな時は、RailsプラグインをGemとして公開することができます。 方法は非常に単純で、Gemの中にrails/init.rbを含めるだけです。 あとは、Gem pluginを利用するRailsアプリケーションの中から、 config.gemでGemの参照を設定すればすぐに利用できます。 rails/init.rbの中身は、通常のプラグインのinit.rbと同様です。
(8/9/2008 - 215KB) requires WordPress 2.1 or higher What is WPtouch? Simply put, it's a complimentary theme installed as a plugin on yourWhat is WPtouch? Simply put, it’s a complimentary theme installed as a plugin on your WordPress blog or website that will format your content with this Apple-inspired, full-featured theme when your visitors are using an iPhone or iPod touch. I thought the iPhone/
September 03, 2006 @ 11:26 PM RSS Feeds For Exception Logger I’ve finally gotten around to integrating the exception logger plugin into Beast. Not only does this give me a convenient way to monitor any unhandled exceptions, it also sets up simple 404/500 pages. Currently, rails will manually write out the dreaded “Rails Application Error” message, even though it creates those 404.html/500.html pag
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
restful_authentication プラグインのメモ。検証は Rails 2.0.2 で行っています。 プラグインについて RESTful なユーザ認証を行う事ができます。 通常のセッションを用いた認証、ベーシック認証、 Cookie による認証が利用できます。特に Cookie を用いた認証は、ブラウザを閉じた場合でも有効期間内なら有効になります(設定有効時)。 インストール プラグインをインストールします。Rails 1.2.6 以降でないと動作しないので注意して下さい。 また、 authenticated_system.rb は RAILS_ROOT/lib 以下に展開されます。 ruby script/plugin install http://svn.techno-weenie.net/projects/plugins/restful_authentication/追記
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く