はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    WWDC25

『Front page - APIdock』

  • 人気
  • 新着
  • すべて
  • delegate (Module) - APIdock

    3 users

    apidock.com

    Instance methods (56) alias_attribute alias_method_chain (<= v5.0.0.1) anonymous? as_json as_load_path (<= v2.3.8) attr_accessor_with_default (<= v3.1.0) attr_internal attr_internal_accessor attr_internal_define attr_internal_ivar_name attr_internal_reader attr_internal_writer cattr_accessor cattr_reader cattr_writer const_missing (<= v2.1.0) deep_dup delegate delegate_missing_to deprecate duplica

    • テクノロジー
    • 2015/07/10 16:42
    • rails
    • helper_method (ActionController::Helpers::ClassMethods) - APIdock

      3 users

      apidock.com

      Method deprecated or moved This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here. These similar methods exist in v7.1.3.2: AbstractController::Helpers::ClassMethods#helper_method ActionView::TestCase::Behavior::ClassMethods#helper_method Declare a controller method as a helper. For example, the following makes the current_user controller

      • テクノロジー
      • 2014/10/23 00:23
      • Rails
      • try (Object) - APIdock

        3 users

        apidock.com

        Class methods (1) lookup_missing_generator (<= v2.3.8) Instance methods (58) ` (<= v5.2.3) acts_like? app (<= v3.1.0) as_json blank? bundler? (<= v3.2.13) class_eval (<= v2.3.8) controller (<= v3.1.0) copy_instance_variables_from (<= v3.0.9) create (<= v3.0.9) create_fixtures (<= v5.1.7) deep_dup destroy (<= v3.0.9) duplicable? edit (<= v3.0.9) extended_by (<= v2.3.8) extend_with_included_module..

        • 暮らし
        • 2014/09/23 08:51
        • pluralize (ActionView::Helpers::TextHelper) - APIdock

          3 users

          apidock.com

          Instance methods (25) auto_link (<= v3.0.9) auto_linked? (<= v3.0.9) auto_link_email_addresses (<= v3.0.9) auto_link_urls (<= v3.0.9) concat current_cycle cut_excerpt_part cycle excerpt get_cycle highlight markdown (<= v2.3.8) pluralize reset_cycle safe_concat sanitize (<= v1.2.6) set_cycle simple_format split_paragraphs strip_links (<= v1.2.6) strip_tags (<= v1.2.6) textilize (<= v2.3.8) textiliz

          • テクノロジー
          • 2014/06/04 13:07
          • Rails
          • ruby
          • respond_with (ActionController::MimeResponds) - APIdock

            3 users

            apidock.com

            1.0.0 1.1.6 1.2.6 2.0.3 2.1.0 2.2.1 2.3.8 3.0.0 (0) 3.0.9 (0) 3.1.0 (1) 3.2.1 (0) 3.2.8 (0) 3.2.13 (0) 4.0.2 (30) 4.1.8 (0) 4.2.1 (-38) 4.2.7 4.2.9 5.0.0.1 5.1.7 5.2.3 6.0.0 6.1.3.1 6.1.7.7 7.0.0 7.1.3.2 7.1.3.4 What's this?

            • テクノロジー
            • 2014/04/22 16:50
            • rails
            • *あとで読む
            • strftime (DateTime) - APIdock

              3 users

              apidock.com

              Class methods (21) civil commercial httpdate iso8601 jd jisx0301 json_create new new_by_frags (<= v1_9_2_180) now nth_kday (>= v1_9_1_378) ordinal parse rfc2822 rfc3339 rfc822 strptime _strptime today (<= v1_9_2_180) weeknum (>= v1_8_6_287) xmlschema Instance methods (22) as_json hour (>= v2_6_3) iso8601 iso8601_timediv (<= v1_9_2_180) jisx0301 min (>= v2_6_3) minute (>= v2_6_3) new_offset (>= v2_

              • テクノロジー
              • 2014/04/09 14:22
              • *programming
              • index_by (Enumerable) - APIdock

                3 users

                apidock.com

                Convert an enumerable to a hash, using the block result as the key and the element as the value. people.index_by(&:login) # => { "nextangle" => <Person ...>, "chade-" => <Person ...>, ...} people.index_by { |person| "#{person.first_name} #{person.last_name}" } # => { "Chade- Fowlersburg-e" => <Person ...>, "David Heinemeier Hansson" => <Person ...>, ...}

                • テクノロジー
                • 2013/03/18 10:07
                • Rails
                • Ruby
                • Tips
                • assign_attributes (ActiveRecord::AttributeAssignment) - APIdock

                  3 users

                  apidock.com

                  Method deprecated or moved This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here. These similar methods exist in v7.1.3.2: ActiveModel::AttributeAssignment#assign_attributes ActiveSupport::CurrentAttributes#assign_attributes Allows you to set all the attributes by passing in a hash of attributes with keys matching the attribute names (whi

                  • テクノロジー
                  • 2012/12/03 19:50
                  • rails
                  • reference
                  • api
                  • has_many (ActiveRecord::Associations::ClassMethods) - APIdock

                    4 users

                    apidock.com

                    Instance methods (61) add_association_callbacks (<= v3.0.9) add_counter_cache_callbacks (<= v3.0.9) add_deprecated_api_for_has_... (<= v1.2.6) add_limited_ids_condition! (<= v2.3.8) add_multiple_associated_sav... (<= v2.2.1) add_multiple_associated_val... (<= v2.2.1) add_single_associated_save_... (<= v2.1.0) add_single_associated_valid... (<= v2.2.1) add_sti_conditions! (<= v1.0.0) add_touch_call

                    • テクノロジー
                    • 2012/11/01 21:11
                    • observer
                    • rails
                    • pluck (ActiveRecord::Calculations) - APIdock

                      5 users

                      apidock.com

                      Class methods (1) included (<= v2.3.8) Instance methods (35) aggregate_column all_attributes? async_average async_count async_ids async_maximum async_minimum async_pick async_pluck async_sum average build_count_subquery calculate column_alias_for (<= v7.0.0) column_for (<= v4.1.8) count distinct_select? execute_grouped_calculation execute_simple_calculation has_include? ids lookup_cast_type_from_j

                      • テクノロジー
                      • 2012/10/11 19:55
                      • Rails
                      • exists? (ActiveRecord::Base) - APIdock

                        3 users

                        apidock.com

                        1.0.0 (0) 1.1.6 (0) 1.2.6 (5) 2.0.3 (17) 2.1.0 (0) 2.2.1 (0) 2.3.8 (11) 3.0.0 3.0.9 3.1.0 3.2.1 3.2.8 3.2.13 4.0.2 4.1.8 4.2.1 4.2.7 4.2.9 5.0.0.1 5.1.7 5.2.3 6.0.0 6.1.3.1 6.1.7.7 7.0.0 7.1.3.2 7.1.3.4 What's this? Class methods (218) === (<= v3.2.13) abstract_class? (<= v3.1.0) accessible_attributes (<= v2.3.8) active_connection_name (<= v2.1.0) add_conditions! (<= v2.3.8) add_group! (<= v2.3.8)

                        • テクノロジー
                        • 2012/10/03 03:07
                        • api
                        • 便利
                        • rails
                        • tips
                        • forty_two (Array) - APIdock

                          4 users

                          apidock.com

                          Class methods (1) wrap Instance methods (35) as_json compact_blank! deep_dup encode_json (<= v4.0.2) excluding extract! extract_options! fifth forty_two fourth from including in_groups in_groups_of inquiry sample (<= v3.2.13) second second_to_last split sum (<= v7.0.0) third third_to_last to to_default_s (<= v7.0.0) to_formatted_s to_fs to_json (<= v2.3.8) to_param to_query to_s (<= v7.0.0) to_sen

                          • テクノロジー
                          • 2012/03/07 12:21
                          • rails
                          • link_to (ActionView::Helpers::UrlHelper) - APIdock

                            6 users

                            apidock.com

                            Instance methods (37) add_confirm_to_attributes! (<= v3.0.9) add_disable_with_to_attribu... (<= v3.0.9) add_method_to_attributes! array_or_string_for_javascript (<= v3.2.13) _back_url button_to confirm_javascript_function (<= v2.3.8) convert_boolean_attributes! (<= v4.2.9) convert_options_to_data_att... convert_options_to_javascript! (<= v2.3.8) _current_page? current_page? _filtered_referrer link

                            • テクノロジー
                            • 2011/12/13 17:21
                            • rails
                            • find_in_batches (ActiveRecord::Batches) - APIdock

                              4 users

                              apidock.com

                              Class methods (1) included (<= v2.3.8) Instance methods (14) act_on_ignored_order act_on_order_or_limit_ignored (<= v5.0.0.1) apply_finish_limit apply_limits apply_start_limit batch_condition batch_on_loaded_relation batch_on_unloaded_relation batch_order (<= v7.0.0) build_batch_orders find_each find_in_batches get_the_order_of_primary_key in_batches = private = protected find_in_batches(start: ni

                              • テクノロジー
                              • 2011/07/08 02:41
                              • ActiveRecord
                              • rails
                              • default_scope (ActiveRecord::Base) - APIdock

                                3 users

                                apidock.com

                                1.0.0 1.1.6 1.2.6 2.0.3 2.1.0 2.2.1 2.3.8 (0) 3.0.0 (7) 3.0.9 (-1) 3.1.0 (26) 3.2.1 3.2.8 3.2.13 4.0.2 4.1.8 4.2.1 4.2.7 4.2.9 5.0.0.1 5.1.7 5.2.3 6.0.0 6.1.3.1 6.1.7.7 7.0.0 7.1.3.2 7.1.3.4 What's this? Class methods (218) === (<= v3.2.13) abstract_class? (<= v3.1.0) accessible_attributes (<= v2.3.8) active_connection_name (<= v2.1.0) add_conditions! (<= v2.3.8) add_group! (<= v2.3.8) add_joins!

                                • テクノロジー
                                • 2011/05/24 11:37
                                • rails
                                • form_for (ActionView::Helpers::FormHelper) - APIdock

                                  7 users

                                  apidock.com

                                  Creates a form that allows the user to create or update the attributes of a specific model object. The method can be used in several slightly different ways, depending on how much you wish to rely on Rails to infer automatically from the model how the form should be constructed. For a generic model object, a form can be created by passing form_for a string or symbol representing the object we are

                                  • 暮らし
                                  • 2011/05/09 01:29
                                  • form_for
                                  • https://apidock.com/rails/ActiveRecord/Base/to_param

                                    3 users

                                    apidock.com

                                    • テクノロジー
                                    • 2011/04/28 05:47
                                    • rails
                                    • as_json (ActiveModel::Serializers::JSON) - APIdock

                                      4 users

                                      apidock.com

                                      Returns a hash representing the model. Some configuration can be passed through options. The option include_root_in_json controls the top-level behavior of as_json. If true, as_json will emit a single root node named after the object’s type. The default value for include_root_in_json option is false. user = User.find(1) user.as_json # => { "id" => 1, "name" => "Konata Izumi", "age" => 16, # "creat

                                      • テクノロジー
                                      • 2011/04/15 11:42
                                      • rails
                                      • select_tag (ActionView::Helpers::FormTagHelper) - APIdock

                                        4 users

                                        apidock.com

                                        select_tag(name, option_tags = nil, options = {}) public Creates a dropdown selection box, or if the :multiple option is set to true, a multiple choice selection box. Helpers::FormOptions can be used to create common select boxes such as countries, time zones, or associated records. option_tags is a string containing the option tags for the select box. Options :multiple - If set to true, the selec

                                        • 学び
                                        • 2011/04/11 15:16
                                        • time_ago_in_words (ActionView::Helpers::DateHelper) - APIdock

                                          4 users

                                          apidock.com

                                          Like distance_of_time_in_words, but where to_time is fixed to Time.now. time_ago_in_words(3.minutes.from_now) # => 3 minutes time_ago_in_words(3.minutes.ago) # => 3 minutes time_ago_in_words(Time.now - 15.hours) # => about 15 hours time_ago_in_words(Time.now) # => less than a minute time_ago_in_words(Time.now, include_seconds: true) # => less than 5 seconds from_time = Time.now - 3.days - 14.minut

                                          • テクノロジー
                                          • 2011/03/03 09:02
                                          • rails
                                          • fields_for (ActionView::Helpers::FormHelper) - APIdock

                                            8 users

                                            apidock.com

                                            fields_for(record_name, record_object = nil, options = {}, &block) public Creates a scope around a specific model object like form_for, but doesn’t create the form tags themselves. This makes fields_for suitable for specifying additional model objects in the same form. Although the usage and purpose of fields_for is similar to form_for's, its method signature is slightly different. Like form_for,

                                            • テクノロジー
                                            • 2010/11/03 23:37
                                            • rails
                                            • respond_to (ActionController::MimeResponds::InstanceMethods) - APIdock

                                              3 users

                                              apidock.com

                                              Method deprecated or moved This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here. These similar methods exist in v7.1.3.2: ActionController::MimeResponds#respond_to Without web-service support, an action which collects the data for displaying a list of people might look something like this: def index @people = Person.find(:all) end Here’s

                                              • 暮らし
                                              • 2010/10/25 09:04
                                              • to_json (ActiveRecord::Serialization) - APIdock

                                                19 users

                                                apidock.com

                                                Method deprecated or moved This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here. These similar methods exist in v7.1.3.2: ActiveSupport::ToJsonWithActiveSupportEncoder#to_json ActiveStorage::Filename#to_json Returns a JSON string representing the model. Some configuration is available through options. The option ActiveRecord::Base.includ

                                                • テクノロジー
                                                • 2010/09/13 16:08
                                                • rails
                                                • json
                                                • ruby
                                                • ActiveRecord
                                                • dev
                                                • ActiveRecord::Dirty - APIdock

                                                  3 users

                                                  apidock.com

                                                  Class methods (1) included (<= v2.3.8) Instance methods (14) attribute_change (<= v2.3.8) attribute_changed? (<= v2.3.8) attribute_was (<= v2.3.8) attribute_will_change! (<= v2.3.8) changed (<= v2.3.8) changed? (<= v2.3.8) changed_attributes (<= v2.3.8) changes (<= v2.3.8) field_changed? (<= v2.3.8) reload_with_dirty (<= v2.3.8) save_with_dirty (<= v2.3.8) save_with_dirty! (<= v2.3.8) update_with_

                                                  • 学び
                                                  • 2010/06/16 15:29
                                                  • *programming
                                                  • render (ActionController::Base) - APIdock

                                                    9 users

                                                    apidock.com

                                                    1.0.0 (0) 1.1.6 (2) 1.2.6 (6) 2.0.3 (-1) 2.1.0 (0) 2.2.1 (3) 2.3.8 (4) 3.0.0 3.0.9 3.1.0 3.2.1 3.2.8 3.2.13 4.0.2 4.1.8 4.2.1 4.2.7 4.2.9 5.0.0.1 5.1.7 5.2.3 6.0.0 6.1.3.1 6.1.7.7 7.0.0 7.1.3.2 7.1.3.4 What's this? Class methods (23) action_methods (<= v2.3.8) append_view_path (<= v2.3.8) call (<= v2.3.8) controller_class_name (<= v2.3.8) controller_name (<= v2.3.8) controller_path (<= v2.3.8) exe

                                                    • テクノロジー
                                                    • 2010/06/10 16:14
                                                    • rails
                                                    • Ruby - APIdock

                                                      7 users

                                                      apidock.com

                                                      1_8_6_287 (0) 1_8_7_72 (4) 1_8_7_330 (0) 1_9_1_378 (0) 1_9_2_180 (15) 1_9_3_125 (37) 1_9_3_392 (0) 2_1_10 (38) 2_2_9 (-3) 2_4_6 (-5) 2_5_5 (3) 2_6_3 (16) What's this? Latest events Git repository cloned from https://github.com/ruby/ruby.git about 1 year ago Git repository cloned from https://github.com/ruby/ruby.git about 1 year ago Git repository cloned from https://github.com/ruby/ruby.git almos

                                                      • テクノロジー
                                                      • 2010/03/24 01:19
                                                      • ruby
                                                      • *あとで読む
                                                      • create_table (ActiveRecord::ConnectionAdapters::SchemaStatements) - APIdock

                                                        3 users

                                                        apidock.com

                                                        Instance methods (130) add_belongs_to add_check_constraint add_column add_column_for_alter add_column_options! (<= v4.0.2) add_columns add_foreign_key add_index add_index_options add_index_sort_order add_options_for_index_columns add_order_by_for_associatio... (<= v2.3.8) add_reference add_timestamps add_timestamps_for_alter assume_migrated_upto_version build_add_column_definition build_change_col

                                                        • テクノロジー
                                                        • 2009/07/08 10:59
                                                        • rails
                                                        • Ruby on Rails - APIdock

                                                          38 users

                                                          apidock.com

                                                          1.0.0 (0) 1.1.6 (4) 1.2.6 (16) 2.0.3 (18) 2.1.0 (36) 2.2.1 (13) 2.3.8 (11) 3.0.0 (-1) 3.0.9 (22) 3.1.0 (10) 3.2.1 (0) 3.2.8 (1) 3.2.13 (0) 4.0.2 (17) 4.1.8 (9) 4.2.1 (5) 4.2.7 (1) 4.2.9 (1) 5.0.0.1 (23) 5.1.7 (9) 5.2.3 (38) 6.0.0 (30) 6.1.3.1 (8) 6.1.7.7 (1) 7.0.0 (9) 7.1.3.2 (31) 7.1.3.4 (0) What's this? Latest events Imported version v7.1.3.4 10 months ago Git repository cloned from https://gith

                                                          • テクノロジー
                                                          • 2009/02/02 11:44
                                                          • rails
                                                          • reference
                                                          • ruby
                                                          • リファレンス
                                                          • api
                                                          • Ruby on Rails
                                                          • 資料
                                                          • Web
                                                          • Front page - APIdock

                                                            78 users

                                                            apidock.com

                                                            Choose a project RSpec Behaviour Driven Development framework for Ruby 6 imported versions - 25 notes - Browse - Search Ruby on Rails The open source web application framework for the Ruby programming language 27 imported versions - 1313 notes - Browse - Search Ruby A dynamic, open source programming language with a focus on simplicity and productivity 12 imported versions - 370 notes - Browse - S

                                                            • テクノロジー
                                                            • 2008/08/17 01:42
                                                            • ruby
                                                            • rails
                                                            • rspec
                                                            • API
                                                            • reference
                                                            • ドキュメント
                                                            • doc
                                                            • Ruby_on_Rails
                                                            • RubyonRails
                                                            • documentation

                                                            このページはまだ
                                                            ブックマークされていません

                                                            このページを最初にブックマークしてみませんか?

                                                            『Front page - APIdock』の新着エントリーを見る

                                                            キーボードショートカット一覧

                                                            j次のブックマーク

                                                            k前のブックマーク

                                                            lあとで読む

                                                            eコメント一覧を開く

                                                            oページを開く

                                                            はてなブックマーク

                                                            • 総合
                                                            • 一般
                                                            • 世の中
                                                            • 政治と経済
                                                            • 暮らし
                                                            • 学び
                                                            • テクノロジー
                                                            • エンタメ
                                                            • アニメとゲーム
                                                            • おもしろ
                                                            • アプリ・拡張機能
                                                            • 開発ブログ
                                                            • ヘルプ
                                                            • お問い合わせ
                                                            • ガイドライン
                                                            • 利用規約
                                                            • プライバシーポリシー
                                                            • 利用者情報の外部送信について
                                                            • ガイドライン
                                                            • 利用規約
                                                            • プライバシーポリシー
                                                            • 利用者情報の外部送信について

                                                            公式Twitter

                                                            • 公式アカウント
                                                            • ホットエントリー

                                                            はてなのサービス

                                                            • はてなブログ
                                                            • はてなブログPro
                                                            • 人力検索はてな
                                                            • はてなブログ タグ
                                                            • はてなニュース
                                                            • ソレドコ
                                                            • App Storeからダウンロード
                                                            • Google Playで手に入れよう
                                                            Copyright © 2005-2025 Hatena. All Rights Reserved.
                                                            設定を変更しましたx