Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | adding a test for the runner module [#6027 state:resolved] | Aaron Patterson | 2010-11-22 | 1 | -0/+22 | |
| | | | | ||||||
* | | | | sort lists before comparing them | Aaron Patterson | 2010-11-22 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | add respond_to? to ActionDispatch::Integration::Runner | Sven Fuchs | 2010-11-22 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | since Runner uses method_missing to delegate to the integration session it also should define respond_to? accordingly | |||||
* | | | | Removed ids_in_list_limit in favor of in_clause_length defined in ↵ | Alex Rothenberg | 2010-11-23 | 3 | -14/+9 | |
| | | | | | | | | | | | | | | | | database_limits.rb | |||||
* | | | | make test more resilient to future changes by not | Neeraj Singh | 2010-11-22 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testing the count and not testing the internal value of the registered mime type. Ideally all mime type registration should be cleaned up in teardown. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | remove select, collect and then inject with | Neeraj Singh | 2010-11-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | something better Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | string include method is 10x faster than creating | Neeraj Singh | 2010-11-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | a new regex object every single time Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | Compile regex only once | Neeraj Singh | 2010-11-22 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | move the mime registration code to setup so that | Neeraj Singh | 2010-11-22 | 1 | -2/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it could be cleaned up on teardown. Currently the test code test/controller/mime_responds_test.rb impacts test/dispatch/mime_type_test.rb. dispatch/mime_type_test.rb runs independently fine but when run as part of rake breaks because of new mime types registered in controller/mime_responds_test.rb Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | rename star star to just one star | Neeraj Singh | 2010-11-22 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | cleanup Mime::LOOKUP after registering image/gif | Neeraj Singh | 2010-11-22 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | fix test | Neeraj Singh | 2010-11-22 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | implement code that handles text/*, appplication/*, | Neeraj Singh | 2010-11-22 | 1 | -1/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | and image/* Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | test for text/*, application/* and image/* | Neeraj Singh | 2010-11-22 | 1 | -1/+27 | |
| | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | declare regex as a constant | Neeraj Singh | 2010-11-22 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | add the fixture file | Neeraj Singh | 2010-11-22 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | do not assume that there is no space between | Neeraj Singh | 2010-11-22 | 2 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | leading */* and comma Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | failing test for #6022 | Neeraj Singh | 2010-11-22 | 1 | -0/+34 | |
| | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | current code ignores http header "Accept" if it | Neeraj Singh | 2010-11-22 | 2 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | has ....,*/* . It is possible to a device to send request such that */* appear at the beginning of the "Accept" header. This patch ensures that "Accept" header is ignored for such cases too. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | Remove unused constant | Santiago Pastorino | 2010-11-22 | 1 | -2/+0 | |
| | | | | ||||||
* | | | | There's no need for ternary op here | Santiago Pastorino | 2010-11-22 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Remove unneeded metaprogramming and method generation in favor of direct ↵ | Santiago Pastorino | 2010-11-22 | 1 | -24/+10 | |
| | | | | | | | | | | | | | | | | definition | |||||
* | | | | Ensure that app generator is not loaded twice to get rid of warnings | Piotr Sarnacki | 2010-11-22 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | Do not create table_name_prefix method on isolated module if the method ↵ | Piotr Sarnacki | 2010-11-22 | 2 | -2/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | already exists. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | realigns a series of hash arrows | Xavier Noria | 2010-11-21 | 1 | -10/+10 | |
| | | | | ||||||
* | | | | documents <%== in the AS guide | Xavier Noria | 2010-11-21 | 1 | -0/+6 | |
| |_|/ |/| | | ||||||
* | | | Spanish for "project" is "proyecto" | Xavier Noria | 2010-11-21 | 1 | -2/+2 | |
| | | | ||||||
* | | | use_accept_header is no longer supported | Neeraj Singh | 2010-11-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | copy-edits d773ef8 | Xavier Noria | 2010-11-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | fix some grammar issues with section 2.5 | Jamison Dance | 2010-11-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | Mention the case that `render` will return nil if given `:collection` is nil ↵ | Prem Sichanugrist | 2010-11-21 | 1 | -0/+5 | |
| | | | | | | | | | | | | or empty when rendering partial. | |||||
* | | | Spelling mistake: "Projecto" instead of "projeto" | nosolopau | 2010-11-21 | 1 | -2/+2 | |
| | | | ||||||
* | | | i18n guide: fix external link to rack locale | Jaime Iniesta | 2010-11-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix code for customize the error messages html adding a .html_safe of 8.3 ↵ | Léo Hackin | 2010-11-21 | 1 | -2/+2 | |
| | | | | | | | | | | | | section | |||||
* | | | unscoped takes care of named_scopes too | Neeraj Singh | 2010-11-21 | 1 | -2/+1 | |
| | | | ||||||
* | | | i18n guide: this is not longer a problem | Jaime Iniesta | 2010-11-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | i18n guide: remove link to external page about 'How to encode the current ↵ | Jaime Iniesta | 2010-11-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | locale in the URL' as it no longer exists | |||||
* | | | i18n guide: it's activerecord.errors.messages.record_invalid (instead of ↵ | Jaime Iniesta | 2010-11-21 | 1 | -9/+9 | |
| | | | | | | | | | | | | 'invalid'), and messagges typo | |||||
* | | | Minor fix on Rails:Railtie documentation | zhengjia | 2010-11-21 | 1 | -2/+2 | |
| | | | ||||||
* | | | remove old school validations and replaced with new validates method. ↵ | eparreno | 2010-11-21 | 5 | -36/+36 | |
| | | | | | | | | | | | | Pending: fix active_record guide | |||||
* | | | Ensure calling reset session twice does not raise errors. | José Valim | 2010-11-20 | 1 | -0/+12 | |
| | | | ||||||
* | | | removed an AR method which wasn't used internally, had no tests, and had no docs | Josh Kalderimis | 2010-11-20 | 1 | -4/+0 | |
| | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 17 | -55/+91 | |
| | | | | | | | | | | | | | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | I18n is always loaded on boot by Active Model or Action Pack, so no need for ↵ | José Valim | 2010-11-20 | 1 | -1/+0 | |
| | | | | | | | | | | | | supporting lazy hooks. | |||||
* | | | applies API conventions to the RDoc of json_encode | Xavier Noria | 2010-11-20 | 1 | -10/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * Examples running with the text are preferred over separate Example sections. * No need to call puts, in # => we show the return value, not STDOUT. * Say explicitly that double quotes are removed. * Specify that we are talking \uXXX, rather than, say, HTML entities. | |||||
* | | | Fix indentation | Santiago Pastorino | 2010-11-20 | 1 | -24/+23 | |
| | | | ||||||
* | | | Avoid range object creation | Santiago Pastorino | 2010-11-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | do not require ruby-debug automatically. please require it if you have ↵ | Aaron Patterson | 2010-11-19 | 4 | -30/+0 | |
| | | | | | | | | | | | | declared it as a dependency | |||||
* | | | guides: gives clear instructions for feedback, removes links to the now ↵ | Xavier Noria | 2010-11-19 | 30 | -70/+37 | |
| | | | | | | | | | | | | archived LH project | |||||
* | | | wtf vim | Aaron Patterson | 2010-11-19 | 1 | -1/+1 | |
| | | |