Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add option to Class#class_attribute for skipping the query method | Agis- | 2013-04-06 | 1 | -3/+5 |
| | |||||
* | removing out of date comment. ↵ | Aaron Patterson | 2013-03-12 | 1 | -3/+0 |
| | | | | :heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart: @pixeltrix | ||||
* | drop memory consumption and startup speed by switching to define_method | Aaron Patterson | 2013-03-12 | 1 | -23/+28 |
| | |||||
* | Change Class#subclasses doc example | Dalibor Nasevic | 2013-02-06 | 1 | -2/+2 |
| | |||||
* | Remove 'assigned but unused variable' warning | Arun Agrawal | 2012-12-28 | 1 | -1/+2 |
| | |||||
* | Add comment about implementation of class_attribute | Andrew White | 2012-12-06 | 1 | -0/+3 |
| | | | | | | | To prevent future pull requests like #8435 add a comment about the implementation of class_attribute using class_eval for performance. [ci skip] | ||||
* | Replace comments' non-breaking spaces with spaces | claudiob | 2012-12-04 | 1 | -1/+1 |
| | | | | | | | | | | Sometimes, on Mac OS X, programmers accidentally press Option+Space rather than just Space and don’t see the difference. The problem is that Option+Space writes a non-breaking space (0XA0) rather than a normal space (0x20). This commit removes all the non-breaking spaces inadvertently introduced in the comments of the code. | ||||
* | update AS/core_ext docs [ci skip] | Francesco Rodriguez | 2012-09-12 | 1 | -3/+3 |
| | |||||
* | Revert "DRY class_attribute code" | José Valim | 2012-07-30 | 1 | -3/+6 |
| | | | | | | | class_attribute is a building block and using define_method can be much slower for such basic method definitions. This reverts commit d59208d7032e2be855a89ad8d4685cc08dd7cdb3. | ||||
* | DRY class_attribute code | Aleksandr Zykov | 2012-07-29 | 1 | -6/+3 |
| | |||||
* | remove :nodoc: from Class#subclasses [ci skip] | Francesco Rodriguez | 2012-05-28 | 1 | -4/+10 |
| | |||||
* | Add instance_accessor option to class_attribute | Alexey Vakhov | 2012-05-22 | 1 | -2/+4 |
| | |||||
* | cut some duplication and minor edits [ci skip] | Vijay Dev | 2012-05-08 | 1 | -37/+4 |
| | |||||
* | added docs to cattr_reader | Francesco Rodriguez | 2012-05-07 | 1 | -0/+27 |
| | |||||
* | better docs for cattr_accessor and cattr_writer | Francesco Rodriguez | 2012-05-07 | 1 | -2/+14 |
| | |||||
* | added docs and examples to cattr_writer method | Francesco Rodriguez | 2012-05-07 | 1 | -5/+41 |
| | |||||
* | added docs to cattr_accessor method | Francesco Rodriguez | 2012-05-07 | 1 | -12/+50 |
| | |||||
* | adding example about using cattr_accessor with subclasses | Francesco Rodriguez | 2012-05-07 | 1 | -0/+8 |
| | |||||
* | String quotes and trailing spaces | Alexey Gaziev | 2012-04-29 | 1 | -2/+2 |
| | |||||
* | Indentation for private methods | Alexey Gaziev | 2012-04-29 | 2 | -20/+18 |
| | | | | https://github.com/rails/rails/commit/e7d55f734aae204115d0a04a2db774ac364c1312 | ||||
* | AS core_ext refactoring | Alexey Gaziev | 2012-04-29 | 1 | -1/+1 |
| | |||||
* | validate attribute names in class and module attribute accessors | Dmitry Plashchynski | 2012-03-30 | 1 | -0/+2 |
| | |||||
* | remove unused require from AS/core_ext/class/delegating_att.rb | Vishnu Atrai | 2012-03-10 | 1 | -2/+0 |
| | |||||
* | simplify Class#descendants using singleton_class method | Sergey Nartimov | 2012-01-04 | 1 | -1/+1 |
| | |||||
* | use correct variant of checking whether class is a singleton | Sergey Nartimov | 2012-01-03 | 1 | -1/+1 |
| | |||||
* | Revert "Merge pull request #4220 from bensie/singleton-class-master" | Jon Leighton | 2011-12-28 | 1 | -1/+14 |
| | | | | | | | This reverts commit 90df0d4f687596943bda108ab0b98dd99cacd46b, reversing changes made to 5e6fc81d63837559a393c173eade281ddeb687dd. Reason: build breakage | ||||
* | Further simplify singleton_class checking in class_attribute | James Miller | 2011-12-28 | 1 | -14/+1 |
| | |||||
* | simplify singleton_class? method | Aaron Patterson | 2011-07-23 | 1 | -7/+1 |
| | |||||
* | Ugh, the class_attribute pull request broke the build. fix it. | José Valim | 2011-06-19 | 1 | -7/+4 |
| | |||||
* | Add option to omit creating an instance reader method on class_attribute | James Miller | 2011-06-18 | 1 | -7/+20 |
| | |||||
* | Added instance_accessor: false as an option to Class#cattr_accessor and ↵ | David Heinemeier Hansson | 2011-06-13 | 1 | -2/+3 |
| | | | | friends [DHH] | ||||
* | Removed deprecated methods and related tests from ActiveSupport | Josh Kalderimis | 2011-05-25 | 1 | -178/+0 |
| | |||||
* | Remove extra white spaces on ActiveSupport docs. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | Don't print deprecation warnings every time the user reads or writes an ↵ | Michael Koziarski | 2011-05-17 | 1 | -2/+0 |
| | | | | inheritable attribute. The warnings on declaration is enough. | ||||
* | Use #remove_possible_method instead | Sebastian Martinez | 2011-05-04 | 1 | -1/+1 |
| | |||||
* | Class.__subclasses__ was removed from Rubinius. | John Firebaugh | 2011-01-18 | 1 | -34/+20 |
| | | | | | https://github.com/evanphx/rubinius/issues/issue/11 https://github.com/evanphx/rubinius/commit/2fccbb5dad5cb3f5414d635547290538cfc0a2d4 | ||||
* | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 1 | -0/+9 |
| | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | bye bye extlib_inheritable_*, AS callbacks now using class_attribute | Josh Kalderimis | 2010-11-18 | 1 | -83/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | PERF: more Hash + map changes | Santiago Pastorino | 2010-10-03 | 1 | -3/+3 |
| | |||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-27 | 1 | -0/+1 |
|\ | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb | ||||
| * | Remove method if already exists to avoid warnings. | Emilio Tagua | 2010-09-27 | 1 | -0/+1 |
| | | |||||
* | | Creating singleton class for every object whenever the instance-level ↵ | thedarkone | 2010-09-27 | 1 | -1/+21 |
|/ | | | | accessor is used quite is expensive. | ||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-08-17 | 1 | -1/+1 |
|\ | |||||
| * | recommended is the right word here | Santiago Pastorino | 2010-08-15 | 1 | -1/+1 |
| | | |||||
* | | Class Attribute setter returns set value | Peter Wagenet | 2010-08-16 | 1 | -0/+1 |
|/ | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | deprected -> deprecated | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | |||||
* | applied guidelines to "# =>" | Paco Guzman | 2010-08-12 | 3 | -10/+10 |
| | |||||
* | correcting wrong example | Neeraj Singh | 2010-08-06 | 1 | -1/+1 |
| | |||||
* | fixing typo | Neeraj Singh | 2010-08-05 | 1 | -1/+1 |
| | |||||
* | more documentation for class_inheritable_* | Neeraj Singh | 2010-08-05 | 1 | -0/+22 |
| |