Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding a missing parenthesis in the doc of String#parameterize. | Geoffrey Roguelon | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Change ActiveRecord::Errors to ActiveModel::Errors in guides | Carlos Antonio da Silva | 2012-01-25 | 1 | -2/+2 |
| | | | | | | | Use ActiveModel::Errors in inflection example docs as well. Also fixes wrong information and link to locale file related to Errors#full_messages in I18n guide. | ||||
* | fixes a typo (thanks to Alexey Vakhov) | Xavier Noria | 2011-10-30 | 1 | -1/+1 |
| | |||||
* | defines Module#qualified_const_(defined?|get|set) and String#deconstantize | Xavier Noria | 2011-10-29 | 1 | -0/+15 |
| | | | | | | | | | | This commit also implements a faster version of #demodulize I was unable to isolate with git add --patch. Not a big fan of the name #deconstantize. It complements #demodulize getting rid of the rightmost constant, hence the name, but it is unrelated to the well-known #constantize. So unsure. Could not come with anything better, please feel free to rename. | ||||
* | Modified String#pluralize to take an optional count parameter. | Ryan Oblak | 2011-09-28 | 1 | -3/+14 |
| | |||||
* | Minor doc fix to String#constantize | Ryan Oblak | 2011-09-23 | 1 | -3/+3 |
| | |||||
* | Added ActiveSupport::Inflector.safe_constantize and String#safe_constantize; ↵ | Ryan Oblak | 2011-09-23 | 1 | -3/+16 |
| | | | | refactored common constantize tests into ConstantizeTestCases | ||||
* | Refactor | David Lee | 2011-06-11 | 1 | -1/+0 |
| | |||||
* | Correct bad wording in description. | Ben Orenstein | 2011-02-14 | 1 | -1/+1 |
| | |||||
* | adds missing require for #parameterize | Xavier Noria | 2010-08-26 | 1 | -0/+2 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -6/+6 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Add another missing require in 'active_support/inflector/inflections' | Carl Lerche | 2010-07-29 | 1 | -0/+1 |
| | |||||
* | Add a missing require in 'active_support/core_ext/string/inflections' | Carl Lerche | 2010-07-29 | 1 | -0/+1 |
| | |||||
* | Move constantize from conversions to inflections. | Santiago Pastorino | 2010-06-26 | 1 | -0/+11 |
| | | | | | | | | This removes ActiveModel dependency on TZInfo. [#4979 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | ActiveSupport::Dependencies.constantize shortcut for caching named constant ↵ | Jeremy Kemper | 2010-06-05 | 1 | -11/+0 |
| | | | | lookups | ||||
* | Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵ | wycats | 2010-03-17 | 1 | -2/+0 |
| | | | | warnings are in dependencies. | ||||
* | Inflection dependency, [#4067 status:resolved] | Jason King | 2010-03-03 | 1 | -1/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Convert string extension modules to class reopens | Jeremy Kemper | 2009-04-22 | 1 | -153/+146 |
| | |||||
* | Allow String#parameterize to accept a separator [#2157 state:resolved] | Sam Granieri | 2009-03-07 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Avoid circular require | Jeremy Kemper | 2009-02-06 | 1 | -1/+1 |
| | |||||
* | Added Inflector#parameterize for easy slug generation ("Donald E. ↵ | David Heinemeier Hansson | 2008-09-10 | 1 | -0/+19 |
| | | | | Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby] | ||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -2/+2 |
| | |||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 1 | -64/+56 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve documentation to classify to make it clear that it expects names to ↵ | Michael Koziarski | 2008-01-08 | 1 | -2/+5 |
| | | | | | | be plural. Reference #10615 [kris_chambers] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8596 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Document Inflector.ordinalize and merge docs from String inflections. Closes ↵ | Jeremy Kemper | 2007-01-14 | 1 | -1/+1 |
| | | | | | | #7023. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Thoroughly document inflections. Closes #5700. | Jeremy Kemper | 2006-08-03 | 1 | -11/+38 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Hash.create_from_xml(string) which will create a hash from a XML ↵ | David Heinemeier Hansson | 2006-06-16 | 1 | -1/+1 |
| | | | | | | string and even typecast if possible [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added documentation for inflections (closes #5013) [m.stienstra@fngtps.com] | David Heinemeier Hansson | 2006-06-03 | 1 | -3/+65 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4428 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added option to String#camelize to generate lower-cased camel case by ↵ | David Heinemeier Hansson | 2006-03-20 | 1 | -2/+5 |
| | | | | | | passing in :lower, like "super_man".camelize(:lower) # => "superMan" [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3986 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Hash#to_xml and Array#to_xml that makes it much easier to produce XML ↵ | David Heinemeier Hansson | 2006-03-08 | 1 | -0/+4 |
| | | | | | | from basic structures [DHH] Moved Jim Weirich's wonderful Builder from Action Pack to Active Support (it's simply too useful to be stuck in AP) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | r3215@asus: jeremy | 2005-11-20 02:05:56 -0800 | Jeremy Kemper | 2005-11-21 | 1 | -1/+1 |
| | | | | | | | Eliminate double-requires due to Ruby seeing different paths to the same file. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add title case method to String to do, e.g., 'action_web_service'.titlecase ↵ | Marcel Molina | 2005-10-19 | 1 | -0/+6 |
| | | | | | | # => 'Action Web Service'. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added stripping of _id to String#humanize, so "employee_id" becomes ↵ | David Heinemeier Hansson | 2005-07-17 | 1 | -0/+2 |
| | | | | | | "Employee" #1574 [Justin French] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Moved Active Support into its own gem | David Heinemeier Hansson | 2005-02-15 | 1 | -0/+49 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |