aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_support_core_extensions.md
Commit message (Collapse)AuthorAgeFilesLines
* Added documentation for beginning_of_minute and end_of_minute to Active ↵Gagan Awhad2013-02-221-1/+19
| | | | Support Core Extensions guide
* Improve String#squish whitespaces matchingAntoine Lyset2013-01-221-0/+2
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-01-091-21/+2
|\ | | | | | | | | Conflicts: guides/source/getting_started.md
| * undecorated_table_name was moved and refactoredAkira Matsuda2013-01-041-3/+2
| |
| * Ruby 1.8 support had goneAkira Matsuda2013-01-041-18/+0
| | | | | | | | instance_variable_names remains for internal use, but it's not that useful for the users anymore
* | delegate to :class rather than 'self.class'Gosha Arinich2013-01-061-1/+1
| |
* | ERB::Util::h is no longer generated in scaffoldRyunosuke SATO2013-01-051-3/+3
|/
* Remove deprecated Time methods from the guides [ci skip]Pablo Torres2012-12-111-22/+2
| | | | | | | Don't use: * Time.time_with_datetime_fallback * Time.utc_time * Time.local_time
* remove attr_protected reference from AS Core Extensions guide [ci skip]Francesco Rodriguez2012-12-101-7/+0
|
* Fill out Active Support Core Extensions 'you will learn' list.Steve Klabnik2012-12-071-0/+5
|
* Remove references to Rails versions.Steve Klabnik2012-12-071-5/+3
| | | | | | | | There's no reason for guides to reference old behaviors. They should be current as of the versions of Rails that they ship with, and including older information just clutters thing. I discussed this change with @fxn and he agrees.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-011-1/+1
|\ | | | | | | | | Conflicts: guides/source/active_record_validations.md
| * Normalize on 'After reading this guide, you will know:'Steve Klabnik2012-11-291-1/+1
| | | | | | | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere.
* | Fix typo in AS guide [ci skip]Carlos Antonio da Silva2012-12-011-2/+2
| |
* | copy-edits the docs of 9ee0ffbXavier Noria2012-12-011-7/+5
| |
* | Patched Marshal#load to work with constant autoloading ↵Uriel Katz2012-12-011-0/+21
| | | | | | | | (active_support/dependecies.rb) (issue #8167)
* | Remove references to AR::Observer from docsclaudiob2012-11-301-8/+0
|/ | | | | ActiveRecord::Observer was extracted into a separate gem so it should not be referenced anymore (see https://github.com/rails/rails/commit/ccecab3)
* copy edits and fixes [ci skip]Vijay Dev2012-11-171-0/+2
|
* Properly align some example commentsAgis Anastasopoulos2012-11-151-5/+5
|
* Some minor improvementsAgis Anastasopoulos2012-11-151-9/+9
|
* Minor improvements & fixesAgis Anastasopoulos2012-11-151-8/+8
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-031-18/+18
|\ | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb activerecord/lib/active_record/attribute_methods.rb guides/source/working_with_javascript_in_rails.md
| * fix output messages - docs [ci skip]Francesco Rodriguez2012-10-221-18/+18
| |
* | atomicc.rb: Don't assume we may chown/chmod a file.Daniele Sluijters2012-10-291-1/+3
|/ | | | | | | | | | | | | | | | | | | | | | Previously this code just assumed it is capable of changing the file ownership, both user and group. This will fail in a lot of scenario's unless: * The process is run as a superuser (root); * The owning user and group are already set to the user and group we're trying to chown to; * The user chown'ing only changes the group to another group it is a member of. If either of those conditions are not met the filesystem will simply deny the operation throwing an error. It is also not always possible to do a chmod, there might be a SELinux policy or another limitation preventing the user to change the file mode. To this end the chmod call has also been added to the rescue block. I've also added a little comment above the chmod command that doing a chmod on a file which has an ACL set will cause the ACL to be recalculated / modified.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-10-211-114/+114
|\ | | | | | | | | | | Conflicts: activesupport/lib/active_support/core_ext/hash/slice.rb guides/source/active_support_core_extensions.md
| * Revert "divided into folder with the language"Rafael Mendonça França2012-10-171-0/+3809
| | | | | | | | | | | | This reverts commit f5b9ed4fbc3215a5fce48985ea372ad3f1182252. REASON: Translation work can not be done in the docrails repository
| * divided into folder with the languageRodrigo Martins2012-10-171-3809/+0
| |
| * 1.9 hash syntax changes.AvnerCohen2012-10-121-113/+113
| |
* | Merge pull request #7007 from Mik-die/hash_extractRafael Mendonça França2012-10-121-2/+10
|\ \ | |/ |/| make Hash#extract! more symmetric with Hash#slice
| * add more testcases and doc about Hash#extract!Mikhail Dieterle2012-10-081-2/+10
| |
| * Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]]
| * Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-051-3/+3
| |
* | copy-edits ae9b3d7 [ci skip]Xavier Noria2012-10-091-2/+3
| |
* | AS guide: revises the description of #monday, and #sunday [ci skip]Xavier Noria2012-10-091-2/+8
| | | | | | | | | | | | | | | | | | | | The start of the week is a parameter nowadays, it is a little confusing that we say here that we assume something about it. Better to use "next" and "previous", which are clear regardless of the concept of beginning of week. Adds examples for the edge cases where the receiver is a Monday or Sunday itself.
* | active support core extensions guides updated with config.beginning_of_week infogregolsen2012-09-221-2/+6
|/
* Fix the usage of `*` in MarkdownPrem Sichanugrist2012-09-171-6/+6
| | | | | In Textile `*` would convert to `<strong>`, but in Markdown we have to use `**` instead.
* Fix remaining formatting problems in the guidePrem Sichanugrist2012-09-171-14/+13
|
* Convert all tables to Markdown syntaxPrem Sichanugrist2012-09-171-1/+2
|
* Convert all the links into Markdown formatPrem Sichanugrist2012-09-171-2/+2
|
* Convert all inline codes to Markdown syntaxPrem Sichanugrist2012-09-171-584/+584
|
* Convert inline code tags to MarkdownPrem Sichanugrist2012-09-171-37/+37
|
* Convert heading tags and heading sectionPrem Sichanugrist2012-09-171-192/+214
|
* Convert code blocks into GFM stylePrem Sichanugrist2012-09-171-588/+588
|
* Rename the rest of the guides to MarkdownPrem Sichanugrist2012-09-171-0/+3776