Jason Noble & Ralph Shnelvar
25bcca139f
Added link to the RubyGems User's Guide
2011-07-24 12:15:11 -06:00
Jason Noble & Ralph Shnelvar
bb746e3362
Added explanation to Components of Rails to help users not get hung up on details
2011-07-24 12:15:11 -06:00
Ken Ip
12955a393d
Merge branch 'master' of https://github.com/lifo/docrails
2011-07-24 14:13:06 -04:00
Ken Ip
ce66fc047e
Update "Getting Started" for Rails 3.1
...
Add additional files generated by rails 3.1 generator.
2011-07-24 14:12:15 -04:00
Jason Noble & Ralph Shnelvar
3eb99aab77
Added some context for rack apps, linked to the Rails on Rack guide.
2011-07-24 11:46:02 -06:00
Mike Howard
5712e7aa47
Clarified notes in 3.2 Creating the Blog Application
...
Changed descriptino of Gemfile to add reference to Bundler
Changed description of README to add 'You should edit ...'
Changed description of Rakefile to reflect dynamic nature of Rakefile
and point to app/lib/tasks/ as the place to add app-specific rake tasks.
2011-07-24 11:39:07 -06:00
Mike Howard
25850d17ac
Changed wording of paragraph 2.1.1 Models to clarify table/model
...
relationship.
changed wording 'one table ... corresponds to one model' to 'each table
...'
2011-07-24 10:54:19 -06:00
Santiago Pastorino
97716e6273
Merge pull request #1186 from mitijain123/duplicable_test
...
Duplicable test is looking fine now.
2011-07-24 08:20:17 -07:00
Mitesh Jain
2c90568a06
Duplicable test is looking fine now.
2011-07-24 19:43:42 +05:30
Santiago Pastorino
8a9cacba6d
Merge pull request #2239 from castlerock/scaffold_jquery
...
fixing broken test as jquery-rails is included in application.js
2011-07-24 06:55:25 -07:00
Mitesh Jain
fe37b48f28
Bringing back the jquery-rails. One test is dependent.
2011-07-24 19:18:49 +05:30
Xavier Noria
3665ffda83
Revert "Tests now require MySQL2 adapter in order to run"
...
Reason: Setting up MySQL and Postgres needs installing servers
and libraries that perhaps you don't need in your machine. We
think fixing a bug in Active Support without running the suite
of Active Record for all possible drivers is OK. That's why
we explain first --without db, and after that we cover AR
specifically. mysql2 is no different than mysql or pg in that
sense.
This reverts commit 50d5e0f7e8ab01f3e7b5cf806eb4f9348eeff363.
2011-07-24 11:40:06 +02:00
Oemuer Oezkir
ee5cfdf120
Missed a few instances of British English spelling in the last commit
...
oh and obviously I meant according to Webster, not Weber
2011-07-24 10:40:40 +00:00
Oemuer Oezkir
71d18ce48e
Changed a few instances of of words in the API docs written in British English to
...
American English(according to Weber)
2011-07-24 10:21:42 +00:00
Franck Verrot
77bb0b79f2
Ordering with extra spaces was raising a SQL exception
2011-07-24 08:18:04 +02:00
Gabriel Horner
6e3c0a5d9a
simplify and be more explicit about create and after_initialize tests
2011-07-24 00:31:37 -04:00
Les Fletcher
f956759f8a
fix after_initialize edge case ( close #2074 and close #2175 )
...
fix behavior when after_initialize is defined and a block is passed to Base.create
2011-07-24 00:31:28 -04:00
Aaron Patterson
d33eb07543
Merge pull request #2233 from gramos/fix-issue-1951-master
...
Fix issue 1951 master Namespaced model partial_path is wrong in namespaced controllers
2011-07-23 21:00:11 -07:00
Aaron Patterson
d89a33d162
just use normal ruby for stubbing
2011-07-23 20:55:29 -07:00
Gaston Ramos
dc1b0fd957
- added ActionView::PartialRenderer#merge_path_into_partial(path, partial)
...
fix issues/1951
2011-07-24 00:54:58 -03:00
Gaston Ramos
7621d131d2
- added test case for issue:
...
https://github.com/rails/rails/issues/1951
Namespaced model partial_path is wrong in namespaced controllers
2011-07-24 00:54:45 -03:00
Aaron Patterson
a14f4566dd
Merge pull request #2185 from castlerock/lazy_load_abstract_adapter
...
lazy load ConnectionAdapters remove require.
2011-07-23 20:51:43 -07:00
Aaron Patterson
9327b4de58
Merge pull request #2228 from Empact/helper_tags_in_mailers
...
Simple fix to the NoMethodError noted in #2177 .
2011-07-23 20:40:12 -07:00
Aaron Patterson
cdc4274931
simplify singleton_class? method
2011-07-23 20:02:03 -07:00
Aaron Patterson
06c52d6ac9
Merge pull request #2226 from dmathieu/perform_caching
...
rake assets:precompile should always perform caching - Closes #2199
2011-07-23 17:50:43 -07:00
Ben Woosley
1f89898175
Simple fix to the NoMethodError noted in #2177 .
...
Unfortunately #respond_to?(:controller) won't work as suggested, nor will respond_to?(:params), as #controller is present and #params is delegated to #controller. #delegate makes respond_to? return true regardless whether the target responds to it.
2011-07-23 17:31:48 -07:00
Damien Mathieu
bb3b3e3062
rake assets:precompile should always perform caching - Closes #2199
2011-07-24 01:32:14 +02:00
Santiago Pastorino
410e75419d
Remove unused gems from Gemfile
2011-07-23 18:38:42 -03:00
Santiago Pastorino
e178fcbd01
Merge pull request #2221 from grzuy/master
...
Fix ActiveSupport::Cache::FileStore#file_path_key does not work if initialized with Pathname
2011-07-23 14:05:15 -07:00
Gonzalo Rodriguez
49b0f9e395
Fix ActiveSupport::Cache::FileStore#file_path_key does not work if initialized with Pathname
...
Port from 3-1-stable
2011-07-23 17:57:04 -03:00
Aaron Patterson
c3346b31c9
Merge pull request #2218 from guilleiguaran/avoid-map-chaining
...
Remove unneccesary map chaining
2011-07-23 13:24:24 -07:00
Guillermo Iguaran
3fe32c3554
Remove unneccesary map chaining
2011-07-23 15:21:39 -05:00
Aaron Patterson
abe61054af
Merge pull request #2217 from marcandre/fix_enumerable
...
Fix enumerable
2011-07-23 13:05:12 -07:00
Marc-Andre Lafortune
f061ffd9f4
Trivial optimization for Enumerable#each_with_object
2011-07-23 15:52:38 -04:00
Marc-Andre Lafortune
816abecf90
Insure that Enumerable#index_by, group_by, ... return Enumerators
2011-07-23 15:52:37 -04:00
Marc-Andre Lafortune
c785038839
Make Enumerable#many? iterate only over what is necessary
2011-07-23 15:52:37 -04:00
Marc-Andre Lafortune
a96e824c53
Make Enumerable#many? not rely on #size
2011-07-23 15:52:37 -04:00
Marc-Andre Lafortune
f6ac022a6f
Test using generic Enumerables instead of arrays.
2011-07-23 15:52:37 -04:00
Marc-Andre Lafortune
0b5386f422
Make tests more precise
2011-07-23 15:52:37 -04:00
Carol Nichols
9b9cf92768
Changing Textile emphasis underscores to em tags; the link with underscores that follows is causing the emphasis underscores to be parsed incorrectly.
...
This appears to be a bug with RedCloth; parsing with official Textile creates the HTML that I expect. I have filed ticket # 226 on RedCloth's lighthouse project and I will attempt to fix the problem with RedCloth.
This commit is a workaround for the RedCloth bug that will give this guide the right formatting.
2011-07-23 15:27:07 -04:00
Xavier Noria
2115068476
registers the recent change to date multiparameter handling in the CHANGELOG
2011-07-23 20:31:41 +02:00
Xavier Noria
a62f450661
Merge pull request #2086 from amatsuda/date_multiparameter_nil
...
convert multiple Date parameters into a nil if any of its bits were blank
2011-07-23 11:20:12 -07:00
Evan Farrar
66b4d11236
Changed several instances of British English to be American English
2011-07-23 13:57:56 -04:00
Evan Farrar
662a71b09f
Replaced ‘ with ' in the guides.
2011-07-23 12:23:58 -04:00
Joe Fiorini
50d5e0f7e8
Tests now require MySQL2 adapter in order to run
2011-07-23 12:15:58 -04:00
gnagno
72df64b4e1
now the documentation reflects the actual returned value for a missing translation
2011-07-23 08:26:18 -07:00
Santiago Pastorino
35c87a139a
Merge pull request #2198 from Karunakar/fixing_2168
...
Improve rails:template undefined LOCATION variable error message fixed
2011-07-23 08:26:16 -07:00
Raghunadh
e9f16256ba
Improve rails:template undefined LOCATION variable error message fixed
2011-07-23 20:52:53 +05:30
Santiago Pastorino
7dadb6aa0a
Merge pull request #2171 from arunagw/database-rake-1.9.2
...
This conditions is required to work with database create task. 1.9.2 is h
2011-07-23 07:58:59 -07:00
Santiago Pastorino
25ec3c86e0
Merge pull request #2193 from zhengjia/remove_ruby_prof_for_rubinius
...
only install ruby-prof for mri ruby
2011-07-23 07:12:51 -07:00