aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Small correction to contributing_to_rails in the section for testing ↵Deepak Kannan2012-05-261-0/+6
| | | | | | | | ActiveRecord Initially the guide suggests to install gems via "bundle install --without db" But tests for ActiveRecord need to install the gems in db group also, like mysql. The patch clears the bundler options in ".bundle/config" and installs all the gems in Gemfile
* some small corrections & wrapping changes in the initialization guideVijay Dev2012-05-261-11/+4
| | | | This guide is currently a wip and pending reviews. [ci skip]
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-2611-76/+344
|\
| * fix mention of ruby versions that rails 4 won't run on [ci skip]Vijay Dev2012-05-261-1/+1
| |
| * make it explicit that bundle install at the time of app creationVijay Dev2012-05-261-1/+1
| | | | | | | | | | | | installs only the gems that are already in the gemfile [ci skip]
| * [routing guide] Add mention of get '/:username' routeRyan Bigg2012-05-261-0/+8
| | | | | | | | This is fairly common in Rails applications and is requested a lot of the time on Stack Overflow and #rubyonrails
| * add :nodoc: to CollectionProxy#initializeFrancesco Rodriguez2012-05-251-1/+1
| |
| * add CollectionProxy#== documentationFrancesco Rodriguez2012-05-251-0/+24
| |
| * add CollectionProxy#count documentationFrancesco Rodriguez2012-05-251-0/+26
| |
| * add CollectionProxy#to_ary documentationFrancesco Rodriguez2012-05-251-2/+35
| |
| * add CollectionProxy#delete documentationFrancesco Rodriguez2012-05-251-1/+104
| |
| * Update paths in action_view_overview raislguide to reflect asset pipeline ↵Tadas Tamosauskas2012-05-251-22/+28
| | | | | | | | conventions.
| * [getting started] specify which kind of temporary files are stored in the ↵Rafael Magana2012-05-251-1/+1
| | | | | | | | /tmp folder
| * [Guides] Add missing file descriptionsOscar Del Ben2012-05-251-1/+17
| |
| * [Guides] Add inflector exampleOscar Del Ben2012-05-251-0/+4
| |
| * [getting started] specify what # and $ denotes in the prompt in unix-like OSsRafael Magana2012-05-251-1/+1
| |
| * [getting started] specify that rails new blog executes bundle installRafael Magana2012-05-251-1/+1
| |
| * Add comment for attr_accessible/attr_protected :as option. [ci skip]Edward Tsech2012-05-251-2/+2
| |
| * Fix unbalanced braces in Hash#typecast_xml_value internal commentAlexey Vakhov2012-05-251-1/+1
| |
| * Clean Date#beginning_of_month descriptionAlexey Vakhov2012-05-251-1/+1
| | | | | | | | | | Unnecessary peace of text was injected at 507da04a149b44e20c5a0ba72a218fe1762b6baf by mistake.
| * Merge branch 'master' of github.com:lifo/docrailsMikhail Vaysman2012-05-251-10/+13
| |\
| | * Update examples of Array #in_groups and #in_groups_ofAlexey Vakhov2012-05-251-10/+13
| | | | | | | | | | | | | | | Examples should be not square to visually underline a difference between Array#in_groups and Array#in_groups_of.
| * | references to the old behavior removedMikhail Vaysman2012-05-251-4/+3
| |/
| * Fix ActiveSupport Cache decrement method descriptionAlexey Vakhov2012-05-251-1/+1
| |
| * [Guides] Update rack exampleOscar Del Ben2012-05-241-1/+0
| |
| * [Guides] Add core_ext/object sectionOscar Del Ben2012-05-241-1/+25
| |
| * [Guides] Rewrite Rails application sectionOscar Del Ben2012-05-241-18/+11
| |
| * [Guides] Add extract_options sectionOscar Del Ben2012-05-241-3/+26
| |
| * [Guides] Update ruby version checkOscar Del Ben2012-05-241-2/+8
| |
| * [Guides] Add sprockets to list of loaded frameworksOscar Del Ben2012-05-241-0/+1
| |
| * capitalize HTML5 in Getting Started GuideRory O’Kane2012-05-241-1/+1
| | | | | | | | | | | | | | | | these pages capitalize “HTML5”: http://en.wikipedia.org/wiki/HTML5 http://dev.w3.org/html5/spec/ http://www.html5rocks.com/en/
| * grammar fixes in a tip in Rails routing guideRory O’Kane2012-05-241-1/+1
| |
| * typosMikhail Dieterle2012-05-241-3/+3
| |
* | Merge pull request #6454 from rafmagana/guides_rails_on_rackVijay Dev2012-05-261-21/+41
|\ \ | | | | | | [guides] Update rails on rack
| * | use ActionDispatch::MiddlewareStack instead of ActionController::MiddlewareStackRafael Magana2012-05-221-3/+3
| | |
| * | update loaded middlewares and use of Rack::Server instead of Rack::BuilderRafael Magana2012-05-221-13/+33
| | |
| * | use ApplicationName::Application instead of ActionController::Dispatcher.new ↵Rafael Magana2012-05-221-6/+6
| | | | | | | | | | | | since Dispatcher class no longer exists
* | | Merge pull request #6491 from ↵Vijay Dev2012-05-261-6/+36
|\ \ \ | | | | | | | | | | | | | | | | rafmagana/getting_started_update_setting_app_home_page [getting started] Update Setting the Application Home Page to show the generated get "welcome/index" route
| * | | [getting started] Update Setting the Application Home Page to show the get ↵Rafael Magana2012-05-251-6/+36
| | | | | | | | | | | | | | | | "welcome/index" route
* | | | Merge pull request #4132 from Juanmcuello/clone_structureAaron Patterson2012-05-251-0/+1
|\ \ \ \ | | | | | | | | | | Reset postgreSQL search path in db:test:clone_structure.
| * | | | Reset postgreSQL search path in db:test:clone_structure.Juan M. Cuello2011-12-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch resets the postgres search path in the structure.sql after the structure is dumped in order to find schema_migrations table when multiples schemas are used. Fixes #945
* | | | | Merge pull request #6493 from markmcspadden/hash_keys_order_methodsRafael Mendonça França2012-05-251-7/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Reorder deep_symbolize_keys methods
| * | | | | Reorder deep_symbolize_keys methodsMark McSpadden2012-05-251-7/+7
|/ / / / /
* | | | | Merge pull request #5872 from evtuhovich/prepared_statement_fixAaron Patterson2012-05-251-10/+10
|\ \ \ \ \ | | | | | | | | | | | | Remove prepared statement from system query in postgresql adapter
| * | | | | Remove prepared statement from system query in postgresql adapterIvan Evtukhovich2012-05-121-10/+10
| | | | | |
* | | | | | Merge pull request #5244 from fotos/myqsl2_wait_timeoutRafael Mendonça França2012-05-251-1/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | Maximum wait_timeout on Windows is 2147483
| * | | | | Maximum wait_timeout on Windows is 2147483Fotos Georgiadis2012-03-021-1/+1
| | | | | |
* | | | | | Merge pull request #6487 from avakhov/range-sum-optimizationRafael Mendonça França2012-05-252-2/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix Range#sum optimized version
| * | | | | | Fix Range#sum optimized versionAlexey Vakhov2012-05-252-2/+11
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At 1bd4d1c67459a91415ee73a8f55d2309c0d62a87 was added Range#sum optimized version for arithmetic progressions. This improvment injected a defect with not integer range boundaries. The defect was fixed by e0adfa82c05f9c975005f102b4bcaebfcd17d241. The second commit really disabled optimization at all because in Ruby integer-valued numbers are instances of Fixnum and Bignum classes. We should #use is_a? (#kind_of?) method instead #instance_of? to check if value is numerical: 1.class # => Fixnum 1.instance_of?(Integer) # => false 1.is_a?(Integer) # => true -100_000_000_000.class # => Bignum -100_000_000_000.instance_of?(Integer) # => false -100_000_000_000.is_a?(Integer) # => true Moreover original implementation of Range#sum has a defect with reverse range boundaries. If the first boundary is less than the second range is empty. Current commit fixes and tests this case too.
* | | | | | Merge pull request #4785 from ↵José Valim2012-05-252-4/+26
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ayamomiji/add-self-to-allow-method-name-using-ruby-keyword add `self.` to allow method name using ruby keyword