- 07 10月, 2015 7 次提交
-
-
由 Aaron Patterson 提交于
Rack implements the Etag header manipulation methods, so we can use those instead of ours.
-
由 Jeremy Daer 提交于
Use `Mime[:foo]` instead of `Mime::Type[:FOO]` for back compat
-
由 Jeremy Daer 提交于
Rails 4.x and earlier didn't support `Mime::Type[:FOO]`, so libraries that support multiple Rails versions would've had to feature-detect whether to use `Mime::Type[:FOO]` or `Mime::FOO`. `Mime[:foo]` has been around for ages to look up registered MIME types by symbol / extension, though, so libraries and plugins can safely switch to that without breaking backward- or forward-compatibility. Note: `Mime::ALL` isn't a real MIME type and isn't registered for lookup by type or extension, so it's not available as `Mime[:all]`. We use it internally as a wildcard for `respond_to` negotiation. If you use this internal constant, continue to reference it with `Mime::ALL`. Ref. efc6dd55
-
由 Kasper Timm Hansen 提交于
Fix usage of word alternatively in docs [ci skip]
-
由 Yves Senn 提交于
[ci skip] Change 'an URL' to 'a URL' as URL doesn't have a vowel sound
-
由 tanmay3011 提交于
-
由 Abhishek Jain 提交于
-
- 06 10月, 2015 16 次提交
-
-
由 Sean Griffin 提交于
Any gems or libraries which do work with serialization or YAML will ultimately need to compare these objects (albeit indirectly) to ensure correctness. These will likely never get used internally (as they're slow), but we should still expose them for others.
-
由 Andrew White 提交于
Fix ActionView changelog documentation [ci skip]
-
由 Yves Senn 提交于
use ActiveModel::Naming module instead of Model [ci skip]
-
由 Roman Pramberger 提交于
Use the documented module instead of ActiveModel::Model. This makes the example more focused.
-
由 Abhishek Jain 提交于
-
由 Arthur Nogueira Neves 提交于
Remove unused block argument
-
由 amitkumarsuroliya 提交于
-
由 Sean Griffin 提交于
Update asset_pipeline.md [ci skip]
-
由 Aaron Patterson 提交于
-
由 kentendo 提交于
-
由 Aaron Patterson 提交于
Just a slight refactor that delegates file sending to the response object. This gives us the advantage that if a webserver (in the future) provides a response object that knows how to do accelerated file serving, it can implement this method.
-
由 Sean Griffin 提交于
No need to declare ActiveRecord::Attributes::Type
-
由 Kir Shatrov 提交于
-
由 Eileen M. Uchitelle 提交于
Change "parse_query" to "parse_nested_query"
-
由 David Verhasselt 提交于
[ci skip]
-
由 Xavier Noria 提交于
Add ability to translate rails guides documents.yaml
-
- 05 10月, 2015 14 次提交
-
-
由 Seiei Miyagi 提交于
-
由 Seiei Miyagi 提交于
Some translations of rails guides has their own documents.yaml, for example Japanese: https://github.com/yasslab/railsguides.jp/blob/japanese/guides/source/documents.yaml Traditional Chinese: https://github.com/docrails-tw/guides/blob/master/rails_guides/helpers.rb#L21,L27 https://github.com/docrails-tw/guides/blob/master/source/documents_zh-TW.yaml The [Translating Rails Guides](https://github.com/rails/docrails/wiki/translating-rails-guides) says > Copy the contents of guides/source into your own language directory and translate them. So that sounds ok to copy guides/source/documents.yaml into language specific directly and translating them like other markdown files.
-
由 Yves Senn 提交于
Fixed serializing `:at` option for `assert_eqnueued_with` and `assert_performed_with`
-
由 Arthur Nogueira Neves 提交于
Skip _select! call unless needed for preloader
-
由 Sean Griffin 提交于
Add more info on working with postgres ENUM type
-
由 Arthur Nogueira Neves 提交于
Remove check for caller_locations in Rails::Engine
-
由 Arthur Nogueira Neves 提交于
Docs: Update options for add_reference
-
由 Arthur Nogueira Neves 提交于
ActiveJob - log enqueued message only after the job was successfully enqueued
-
由 Sean Griffin 提交于
action mailer test cases protected method can be `# :nodoc:` [ci skip]
-
由 Sean Griffin 提交于
[ci skip] Fix ActiveRecord::Relation#update documentation
-
由 Vijay Dev 提交于
[ci skip] Fix #seconds_since_midnight documentation output it will al…
-
由 Tanmay Sinha 提交于
[ci skip] Fix #seconds_since_midnight documentation output it will always return floating pointnumber
-
由 akihiro17 提交于
* before ``` people = Person.where(group: 'expert') people.update(group: 'masters') Note: Updating a large number of records will run a UPDATE query for each record, which may cause a performance issue. So if it is not needed to run callbacks for each update, it is preferred to use <tt>update_all</tt> for updating all records using a single query. ``` * after ``` people = Person.where(group: 'expert') people.update(group: 'masters') ``` Note: Updating a large number of records will run an UPDATE query for each record, which may cause a performance issue. So if it is not needed to run callbacks for each update, it is preferred to use <tt>update_all</tt> for updating all records using a single query.
-
由 Claudio B. 提交于
Update text on CSS Injection
-
- 04 10月, 2015 3 次提交
-
-
由 Sean Griffin 提交于
Fix Time.now format in documentation [ci skip]
-
由 Sean Griffin 提交于
Use #current instead of #now to prevent zone issues and use new ruby …
-
由 Tanmay Sinha 提交于
-