並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 139件

新着順 人気順

rails-pluginの検索結果1 - 40 件 / 139件

  • netswitch! | tag rails_plugin

    ♞ rake test:units (in /Users/nanki/work/...../trunk) rake aborted! undefined method `watch' for BenchmarkForRails:Module これは困った。 AutoLoadingがうまくいっていないようだが、この手の問題は追跡が難しい。 とりあえず適当な箇所で、require 'benchmark_for_rails'しておけば大丈夫だが、気持ち悪いので次の日原因を追ってみた。 p追跡の結果だけ書くと、rake 実行時に読み込まれるlogs.rake冒頭でのrequireで、BenchmarkForRailsモジュールが初期化されて、本来読まれて欲しいはずの、benchmark_for_rails.rbがロードされないのが問題。 # in vendor/plugins/benchmark_

    • ActiveScaffold :: A Ruby on Rails plugin for dynamic, AJAX CRUD interfaces

      「私達はUR賃貸物件しか住まない」「子供が出来たら、絶対にUR賃貸住宅がいい」などと、UR賃貸住宅には根強いファンがたくさんいます。特に最近は、子連れ家族に大人気で どうにかしてお気に入りの物件を借りようと、競争が激化しているのです。 礼金・仲介手数料・更新料が不要という大きなメリットがあるUR賃貸住宅ですが、家族3人以上のファミリー向け住宅に人気が集中しているのには、3つの理由があるのです。 一体、どのような魅力があるのでしょうか?早速、ご紹介していきます。 <UR賃貸住宅が、子連れ家族に人気の3つの理由> 理由1、間取りに対する専有面積が広い&面白い間取りが多い UR賃貸住宅は、一般的な賃貸住宅に比べて1つ1つの空間がとてもゆったりしています。 ですから、一般の賃貸住宅と同じ間取りでも専有面積が広いので圧迫感がないのです。また間取りを見ると子連れ家族に嬉しい収納スペースがきちんと確保さ

      • dara日記 - jpmobile - A Rails plugin for Japanese mobile-phones

        来年も作りたい!ふきのとう料理を満喫した 2024年春の記録 春は自炊が楽しい季節 1年の中で最も自炊が楽しい季節は春だと思う。スーパーの棚にやわらかな色合いの野菜が並ぶと自然とこころが弾む。 中でもときめくのは山菜だ。早いと2月下旬ごろから並び始めるそれは、タラの芽、ふきのとうと続き、桜の頃にはうるい、ウド、こ…

          dara日記 - jpmobile - A Rails plugin for Japanese mobile-phones
        • 川o・-・)<2nd life - JavaScript や CSS の query に自動で最終更新時間をつける Rails Plugin

          最近いろいろなサイトで <script src="/javascripts/foo.js?1142509269" type="text/javascript"></script>や <script src="/javascripts/bar.js?v=2.3" type="text/javascript"></script>の記述を見るようになってきました。また CSS でも <link href="/stylesheets/foo.css?1142509300" media="screen" rel="Stylesheet" type="text/css" />といった記述もちらほら見かけます。 これは JavaScript や CSS を更新しても、ブラウザキャッシュが読み込まれているため、更新された JS ファイルなどがロードされない場合への対策です。上記のような最終更新時刻やバージ

            川o・-・)<2nd life - JavaScript や CSS の query に自動で最終更新時間をつける Rails Plugin
          • 川o・-・)<2nd life - Rails pluginの作り方

            Rails 0.14からpluginの仕組みが導入され、今までは「libにライブラリを置いて、config/enviroment.rbに〜を記述して云々」という面倒な方法が、vender/plugins以下にファイルを配置するだけで、Rails本体の拡張が簡単に可能になりました。その作り方をRailsでRESTを簡単に実現するpluginを題材に説明します。 まずは配置するファイルですが、 vender/plugins/プラグイン名/init.rb # 必須 vender/plugins/プラグイン名/lib/* # pluginで利用するライブラリ ディレクトリは$LOAD_PATHに追加される。必須ではない となります。順序としてはconfig/enviroment.rbが読み込まれた後に、init.rbがevalで実行されます。 ではvender/plugins/restmode/i

              川o・-・)<2nd life - Rails pluginの作り方
            • RailsプラグインGemの作成方法、RSpecテストまで含めたrails pluginの作り方

              Rails プラグイン Gem を作る方法の紹介です。現在の Rails では、プラグインを Gem としてビルドします。通常の Ruby Gem と異なるのは、Rails プラグイン Gem は Rails のコアフレームワーク自体を拡張することができる点です。Rails 自身を拡張して機能を追加したい場合は、Rails プラグインとして Gem を作成すると良いでしょう。 通常の Ruby Gem の作り方は、以下を参照お願いいたします。 Gemの作り方(Ruby Gem) | EasyRamble また、Rails でライブラリとして組み込むことができる gem には、通常の Ruby Gem、Rails プラグイン、Rails エンジンの3種類があります。それぞれの違いについては、以下の解説がとても分かりやすいです。 Gem、Railtieプラグイン、Engine(full/mou

                RailsプラグインGemの作成方法、RSpecテストまで含めたrails pluginの作り方
              • [youRoom][rails][plugin] Railsで非同期処理を行うには"Delayed_job"がおすすめ - mat_akiの日記

                明けましておめでとうございます。本年もよろしくお願いします。 今年初ブログは、Railsネタで始めたいと思います。 Railsで非同期処理を行いたいと思うことはありませんか? 例えば、メールの送信をオンラインで実行すると送信が終わるまでレスポンスを返せないのでユーザの待ち時間が長くなってしまいます。ユーザには画面を表示しておいて非同期でメール送信を行えれば、ユーザは早く次の画面を表示できて嬉しいですよね。 他にも、大量のDBの追加や画像の処理、他のサイトからのダウンロードなど非同期で実行できれば嬉しいケースが結構あると思います。 そんな時便利なのが"Delayed_job"というプラグインです。 http://github.com/tobi/delayed_job このプラグインは、githubでたくさんフォークされていたり、Herokuで標準の非同期処理のライブラリになっていたりするので

                  [youRoom][rails][plugin] Railsで非同期処理を行うには"Delayed_job"がおすすめ - mat_akiの日記
                • jpmobile - A Rails plugin for Japanese mobile-phones

                  Resources GitHub Project Page RDoc Documentation Google Group License MIT-LICENSE Download You can download this project in either zip or tar formats. You can also clone the project with Git by running:

                  • GitHub - jpmobile/jpmobile: A Rails plugin for Japanese mobile-phones

                    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

                      GitHub - jpmobile/jpmobile: A Rails plugin for Japanese mobile-phones
                    • netswitch! | Rails Plugin - 認証系

                      include AccessControl access_control :all, :if => false access_control :rss, :if => :is_authorized_for_rss access_control :view, :role => '(admin | user) & !blacklist' access_control :create, :edit, :role => '(admin | moderator) & !blacklist' # runs an arbitrary block access_control :motd do |c| (c.some_controller_method || c.some_other_method) && (rand > 0.5) end とすることで、ロールベースのアクセスコントロールができてしまう。

                      • netswitch! | Rails Plugin - ActiveRecord拡張系2

                        :clear_after_save => trueを指定すると、save後はmodified?がtrueじゃなくなる。 person = Person.find(:first) person.age # 100 person.age = 10 person.age_modified? # true person.original_age # 100 person.modified_attributes # {:age => 100} # restore person.restore_attributes :only => :age person.age # 100 # clear person.clear_original_attributes :only => :age # dbと比較 person.modified?(:reload) # true

                        • netswitch! | Rails Plugin - ActiveRecord拡張系

                          Posted by nanki Tue, 25 Apr 2006 14:30:00 GMT composite_primary_keys 主キーとして複合キーを扱える。 $ gem install composite_primary_keys require 'composite_primary_keys' class Road < ActiveRecord::Base belongs_to :attribute, :foreign_key => [:attribute_code, :mesh_code] end class Attribute < ActiveRecord::Base set_primary_keys :attribute_code, :mesh_code end Road.find(:first).attribute #=> SELECT...WHERE roads.a

                          • Rails Pluginのacts_as_taggableが機能追加されてる:TKMR.blog.show

                            acts_as_taggable を利用してこのブログにタグ機能を付けてる(del.icio.usからのだけ)、ふと order by create_date desc を設定したいと思いついた。でも現状のVer.じゃあできないじゃん、しょぼーん;)と思って最新版を調べたらどうも色々と機能追加されてるみたい。 ActsAsTaggablePluginHowto in Ruby on Rails 「acts_as_taggableの開発が進まないから有志で開発した改良版だ」というようなことが書いてある気もするけど違うかも。既存のVer.を使用してたのでアップデートした(既存Verのインストール) rm -rf vender/plugin/acts_as_taggable ruby script/plugin install http://svn.viney.net.nz/things/rai

                            • GitHub - r7kamura/view_source_map: Rails plugin to embed template path as HTML comment.

                              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

                                GitHub - r7kamura/view_source_map: Rails plugin to embed template path as HTML comment.
                              • GitHub - pelle/oauth-plugin: Rails plugin for OAuth

                                There are several changes to the latest OAuth 2.0 spec which requires a couple of changes to 2 models which you are REQUIRED to update manually if you are supporting OAuth2. github.com/pelle/oauth-plugin/blob/master/lib/generators/active_record/oauth_provider_templates/oauth2_token.rb class Oauth2Token < AccessToken attr_accessor :state def as_json(options={}) d = {:access_token=>token, :token_typ

                                  GitHub - pelle/oauth-plugin: Rails plugin for OAuth
                                • GitHub - ryanb/nested_form: Rails plugin to conveniently handle multiple models in a single form.

                                  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

                                    GitHub - ryanb/nested_form: Rails plugin to conveniently handle multiple models in a single form.
                                  • UJS Rails Plugin—Unobtrusive Javascript for Ruby On Rails

                                    Rails is a great framework, especially for writing AJAX applications, but the Javascript that the built-in Rails helpers output is a bone of contention for many. Unobtrusive Javascript for Rails aims to change that. Get started now. What's New UJS Google Group Introducing the new UJS google group for support and discussion. Read more » Posted on 17 Oct 2006 at 09:10 by lukeredpath. Filed Under: Ne

                                    • netswitch! | Rails Plugin - View系

                                      Posted by nanki Tue, 25 Apr 2006 14:28:00 GMT hotkey link_toブラザーズの仲間? <!-- d を押すと リモートリクエスト --> <%= hotkey_to_remote :d, :url => {:controller => 'some_controller'} %> <!-- h を押すと /home/ へジャンプ --> <%= hotkey_to :h, :controller => 'home'} %> <!-- p を押すと showPreferencesPanel を実行 --> <%= hotkey_to_function :p, "showPreferencesPanel();" %>

                                      • GitHub - technohippy/rails_on_gae: Rails plugin to make rails apps work on GAE/J

                                        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

                                          GitHub - technohippy/rails_on_gae: Rails plugin to make rails apps work on GAE/J
                                        • GitHub - wycats/rack-offline: A Rack and Rails plugin for building offline web applications

                                          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

                                            GitHub - wycats/rack-offline: A Rack and Rails plugin for building offline web applications
                                          • GitHub - relevance/blue-ridge: Framework for JavaScript Testing (currently a Rails Plugin)

                                            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

                                              GitHub - relevance/blue-ridge: Framework for JavaScript Testing (currently a Rails Plugin)
                                            • netswitch! | Rails Plugin - ActiveRecord拡張系2

                                              :clear_after_save => trueを指定すると、save後はmodified?がtrueじゃなくなる。 person = Person.find(:first) person.age # 100 person.age = 10 person.age_modified? # true person.original_age # 100 person.modified_attributes # {:age => 100} # restore person.restore_attributes :only => :age person.age # 100 # clear person.clear_original_attributes :only => :age # dbと比較 person.modified?(:reload) # true

                                              • rails pluginコマンドで簡単に出来るgemの作成方法。 - @camelmasaの開発日記

                                                gemを作成する際、rails pluginコマンドを使用していますが、余り使われていない、記事にされていない印象を受けたので記事を書きました。 Rails Engine, rails pluginコマンドについて詳細はこちらです。 http://d.hatena.ne.jp/passingloop/20110801/p1 上記の記事にはRails Engineの作成する方法にrails pluginコマンドが書いてあります。 (実際にはrails plugin new gem_name --mountable) その際一緒にGemfileも作成されるので、gem pushするだけで実は簡単にgemの登録が出来てしまいます。 実際にやってみる 今日githubのexploreにあったdaneden/amimate.cssをGemfileに1行追加して簡単に利用出来るgemを作成し、Ruby

                                                  rails pluginコマンドで簡単に出来るgemの作成方法。 - @camelmasaの開発日記
                                                • Rails Plugin ことはじめ - Qiita

                                                  $ cd test_plugin $ bundle exec rake test Run options: # Running tests: . Finished tests in 0.577092s, 1.7328 tests/s, 1.7328 assertions/s. 1 tests, 1 assertions, 0 failures, 0 errors, 0 skips テストが1つ通っています。 あとは基本的に普通の gem と同じように開発していくだけです。 ActiveRecord の拡張や、 ActiveSupport の拡張などは公式の Ruby on Rails Guides: The Basics of Creating Rails Plugins が参考になります。 ちょこちょこいじってみる さて、せっかくなので何か作ってみようかとも思うのですが、なにを作ったもの

                                                    Rails Plugin ことはじめ - Qiita
                                                  • Safe ERB (Rails Plugin) - テストとか

                                                    Rails のアプリケーションで DB や HTTP リクエストから取ってきた文字列を rhtml で出力するときに h メソッドなどでエスケープしないとエラーを出すというプラグインを作ってみました。実装方法としては Ruby の Object#tainted? メソッドを使って文字列がエスケープ処理を通過しているかどうか判定するという単純なものです。自動的にエスケープ処理を入れるわけではないので既存のアプリケーションと互換性を保ちつつ、XSS などを引きおこす Script Insertion を許してしまう可能性をかなり下げられると思います。README: http://wiki.rubyonrails.org/rails/pages/Safe+ERBダウンロード: http://www.kbmj.com/users/shinya/rails/safe_erb-0.1.zipRuby

                                                    • Rails Plugin Authors' Guide

                                                      Slides for RubyConf Philippines 2016 talk "Rails Plugin Authors' Guide" http://rubyconf.ph/

                                                        Rails Plugin Authors' Guide
                                                      • GitHub - validates-email-format-of/validates_email_format_of: Validate e-mail addreses against RFC 2822 and RFC 3696 with this Ruby on Rails plugin and gem.

                                                        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

                                                          GitHub - validates-email-format-of/validates_email_format_of: Validate e-mail addreses against RFC 2822 and RFC 3696 with this Ruby on Rails plugin and gem.
                                                        • rails pluginコマンドで簡単に出来るgemの作成方法

                                                          gemを作成する際、rails pluginコマンドを使用していますが、余り使われていない、記事にされていない印象を受けたので記事を書きました。 Rails Engine, rails pluginコマンドについて詳細はこちらです。 http://d.hatena.ne.jp/passingloop/20110801/p1 上記の記事にはRails Engineの作成する方法にrails pluginコマンドが書いてあります。 (実際にはrails plugin new gem_name --mountable) その際一緒にGemfileも作成されるので、gem pushするだけで実は簡単にgemの登録が出来てしまいます。 実際にやってみる 今日githubのexploreにあったdaneden/amimate.cssをGemfileに1行追加して簡単に利用出来るgemを作成し、Ruby

                                                            rails pluginコマンドで簡単に出来るgemの作成方法
                                                          • GitHub - elevation/event_calendar: Show multiple, overlapping events across calendar days and rows. Rails plugin.

                                                            EventCalendar¶ ↑ Easily show multiple, overlapping events across calendar days and rows. See dev.elevationblog.com/2009/7/23/event-calendar-rails-plugin for a screenshot. After install, the “calendar” method will be available within your views. To customize the look, modify the included stylesheet and/or change the default options. Install¶ ↑ Rails 2¶ ↑ script/plugin install git://github.com/eleva

                                                              GitHub - elevation/event_calendar: Show multiple, overlapping events across calendar days and rows. Rails plugin.
                                                            • GitHub - yamldb/yaml_db: Rails plugin for a database-independent dump format, data.yml .......... Seeking new maintainers! See https://github.com/yamldb/yaml_db/issues/143

                                                              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

                                                                GitHub - yamldb/yaml_db: Rails plugin for a database-independent dump format, data.yml .......... Seeking new maintainers! See https://github.com/yamldb/yaml_db/issues/143
                                                              • acts_as_notifiable: Jabberを使って通知を送るRails plugin - satoko's blog - s21g

                                                                Redmineを使っていて、Issueの追加/変更通知がGTalkで来たらうれしいかもと思って作りました:acts_as_notifiable。 NOTE: English entry about this plugin. http://blog.s21g.com/articles/414 Added plugin directory: http://agilewebdevelopment.com/plugins/acts_as_notifiable Repository http://svn.s21g.com/public/rails/plugins/acts_as_notifiable/ Redmineに組み込む XMPP4Rをインストール: http://xmpp4r.rubyforge.org/

                                                                • [rails plugin] javascript_test - script.aculo.usのunittest.jsでTDD&BDD:TKMR.blog.show

                                                                  [rails plugin] javascript_test - script.aculo.usのunittest.jsでTDD&BDD JavaScript Rails 2008-01-06 via Dr Nic - Autotesting Javascript in Rails script.aculo.usのunittest.jsを使ったRailsプラグインの javascript_test なかなか良さそう。generatorでテストのひな形作成、auto_testに対応してくれる。unittest.js単体もBDD的な記述、ベンチマーク、辺りが良い。 #インストール ruby script/plugin install javascript_test mkdir test/javascript ln -s vendor/plugins/javascript_test/assets

                                                                  • GitHub - weppos/breadcrumbs_on_rails: A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.

                                                                    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

                                                                      GitHub - weppos/breadcrumbs_on_rails: A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.
                                                                    • RaPT : Rails Plugin Tool

                                                                      RaPT - Rails Plugin ToolRaPT is a replacement for the plugin script included with the Rails distribution. It's a little more fault-tolerant and featured than the default plugin script. The main additional feature is the ability to search for Rails plugins from the command line.

                                                                      • GitHub - r7kamura/restaurant: A rails plugin to auto-define RESTful API

                                                                        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

                                                                          GitHub - r7kamura/restaurant: A rails plugin to auto-define RESTful API
                                                                        • GitHub - charlotte-ruby/impressionist: Rails Plugin that tracks impressions and page views

                                                                          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

                                                                            GitHub - charlotte-ruby/impressionist: Rails Plugin that tracks impressions and page views
                                                                          • Rails pluginのテストでRspecを使う

                                                                            Rails pluginを調べていて、思ったのだが普通にplugin作成した場合はTest::Unitがテストフレームワークとして提供される、 ここでRspecを使用するようにしてみたときの個人的メモ。 Railsのバージョンは4.1.4。 まずはpluginのひな形作成。testunitは使用しないのでslip。またdummyアプリのパスをspec/dummyにしておく。 rspec-rails をmy-gem.gemspecに追加 bundle installして、rspec-railsをinstallする。 dummy/spec へのシンボリックリンクを作成 Rspecのインストールし、spec/rails_helper.rbのパスを変更 Rakeタスクも追加し、実行できることを確認 以下のような構成で、簡単な文字列を出力するだけのプラグインを作成して テストを作成 ちなみに、Rub

                                                                            • GitHub - mattmccray/comatose: Comatose is a micro CMS, implemented as a Rails plugin, that is designed to be easy to embed and extend.

                                                                              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

                                                                                GitHub - mattmccray/comatose: Comatose is a micro CMS, implemented as a Rails plugin, that is designed to be easy to embed and extend.
                                                                              • GitHub - grimen/validatious-on-rails: Rails plugin that maps model validations to class names on form elements to integrate with Validatious. IMPORTANT: Project is not maintained anymore.

                                                                                Rails core validations Client-side validates_acceptance_of – except: :on, :if/:unless validates_confirmation_of – except: :on, :if/:unless validates_exclusion_of – except: :on, :if/:unless validates_format_of – except: :on, :if/:unless validates_inclusion_of – except: :on, :if/:unless validates_length_of – except: :on, :if/:unless validates_numericality_of – except: :on, :if/:unless validates_pres

                                                                                  GitHub - grimen/validatious-on-rails: Rails plugin that maps model validations to class names on form elements to integrate with Validatious. IMPORTANT: Project is not maintained anymore.
                                                                                • [rails]pluginによるメソッドすげかえの危険性 - 思っているよりもずっとずっと人生は短い。

                                                                                  記憶力・発想力が驚くほど高まるマインドマップ・ノート術 うーーーーん、やはりこの電波ゆんゆんさにはついていけない……(比較的電波度が低い、ということでしたが、それでもゆんゆんしていた)。 まあ、それはそれとして。 発想術と記憶術の二つの側面がある 無地なのは発想術(自由な発想を求める)ため? 色は記憶と発想の両面かも 他人の作ったマインドマップが役に立たないのは記憶方が個々人の連想に依存したものであるため 二次元へのマッピングは記憶術に役立ちそう とかっていうのをやってみると人が集まったりするんでしょうか。……集まってしまうかも。こわすぎる。 XML開発者の日発表のためのメモ。未整理。 AjaxとRESTの整合性 Ajaxは技術、RESTはアーキテクチャスタイル AjaxとRESTは直交する RESTfulなAjax、RESTfulじゃないAjax、両方ある RESTを加速するためのAja

                                                                                    [rails]pluginによるメソッドすげかえの危険性 - 思っているよりもずっとずっと人生は短い。