orta
4c323bc25a
added .'s to headings in the initialization textile page
2011-04-03 15:19:32 +02:00
Akira Matsuda
9bf5cddd28
s/ERb/ERB/g (part II)
2011-04-03 16:59:37 +09:00
Akira Matsuda
bd3cdeea35
s/ERb/ERB/g
...
The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib.
http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
2011-04-03 12:47:51 +09:00
Santiago Pastorino
a000fc58b8
Bump up erubis to 2.7.0
2011-04-02 23:56:52 -03:00
Santiago Pastorino
cc58fe79ac
Implicit actions named not_implemented can be rendered
2011-04-02 23:47:50 -03:00
Santiago Pastorino
99da42c299
Gem::Specification#has_rdoc= is deprecated since rubygems 1.7.0
2011-04-02 00:35:33 -03:00
Santiago Pastorino
9de8dea2e8
default_executable is deprecated since rubygems 1.7.0
2011-04-01 23:58:37 -03:00
Jon Cooper
c17b8e4047
Trivial fix to HTTP Digest auth MD5 example
2011-03-31 16:22:52 -07:00
David Heinemeier Hansson
0eb6e5e270
Moved Turn activation/dependency to railties
2011-03-31 16:20:59 -07:00
burningTyger
63e4e218c5
fix typo
2011-04-01 00:12:58 +02:00
David Heinemeier Hansson
caf0a72c85
Direct logging of Active Record to STDOUT so it's shown inline with the results in the console [DHH]
2011-03-31 14:33:24 -07:00
David Heinemeier Hansson
6eff04499e
Add using Turn with natural language test case names if the library is available (which it will be in Rails 3.1) [DHH]
2011-03-31 12:25:04 -07:00
David Heinemeier Hansson
edf7c9a6a3
require turn only for minitest
2011-03-31 12:17:28 -07:00
David Heinemeier Hansson
b27057731c
Use Turn to format all Rails tests and enable the natural language case names
2011-03-31 12:11:03 -07:00
José Valim
7a9dafd96c
Improve docs.
2011-03-31 19:00:05 +02:00
Josh Kalderimis
b45302d767
pass respond_with options to controller render when using a template for api navigation
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-03-31 18:53:36 +02:00
Josh Kalderimis
48404a751d
only try to display an api template in responders if the request is a get or there are no errors
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-03-31 18:53:27 +02:00
Josh Kalderimis
9766997f4c
when using respond_with with an invalid resource and custom options, the default response status and error messages should be returned
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-03-31 18:53:21 +02:00
Amaia Castro
a64abdda25
Explain in the method doc that you need to call respond_to at the class level in order to use respond_with.
2011-03-31 13:19:19 +02:00
Vijay Dev
4c76f68948
Merge branch 'master' of github.com:lifo/docrails
2011-03-31 16:34:07 +05:30
Josiah Ivey
f44d85a030
Grammar tweaks to the guides guidelines
2011-03-31 00:16:45 -05:00
David Heinemeier Hansson
2867093365
Delegate pending to skip if Minitest is available
2011-03-30 21:16:29 -07:00
Joshua Peek
d7b521db12
Fix assets prefix joining
2011-03-30 22:17:43 -05:00
Joshua Peek
bcde6cdf27
Fix assets prefix joining
2011-03-30 22:12:00 -05:00
Joshua Peek
203b151af7
Fix config.assets.precompile option
2011-03-30 22:00:16 -05:00
Joshua Peek
28fee29e38
Unify sprockets config options
2011-03-30 21:56:15 -05:00
Joshua Peek
56a5da89db
Merge branch 'master' into sprockets
...
Conflicts:
railties/lib/rails/application/configuration.rb
2011-03-30 21:04:33 -05:00
Joshua Peek
5df076ad09
Merge branch 'master' into sprockets
2011-03-30 20:56:05 -05:00
Joshua Peek
ac9443ed71
Switch to sprockets/master
2011-03-30 20:46:49 -05:00
Aaron Patterson
58c3ec1b7b
use assert_equal so we get normal error messages along with our custom failure message
2011-03-30 15:29:52 -07:00
Ryan Bigg
cf07da0929
Symbol to proc is preferred over longer form of map
2011-03-31 06:59:48 +11:00
Ryan Bigg
04d5decfd3
Cleanup of named_scope documentation
2011-03-31 06:48:05 +11:00
Ryan Bigg
7a34ab7d60
Fix typo in named_scope documentation
2011-03-31 06:48:05 +11:00
Eadz
6a1715111e
add space to conform with style
2011-03-31 06:48:05 +11:00
Eadz
45d5d6b268
Documented undocumented feature: Class methods on your model are automatically available on scopes
2011-03-31 06:48:05 +11:00
Santiago Pastorino
4f90b28e06
Bring back AMo#i18n_key method
2011-03-30 16:29:43 -03:00
Aaron Patterson
d688a9d084
Merge branch 'master' of github.com:rails/rails
...
* 'master' of github.com:rails/rails:
Make action_method? public and change implicit rendering to override it instead.
2011-03-30 09:55:02 -07:00
Aaron Patterson
cfb6f77ac0
TableAlias leg ordering has changed, so change accordingly
2011-03-30 09:54:46 -07:00
José Valim
ba51aa0b1b
Make action_method? public and change implicit rendering to override it instead.
2011-03-30 17:22:05 +02:00
Joshua Peek
25c0b569f5
Precompile configured assets
2011-03-29 22:11:47 -05:00
Joshua Peek
77d8f7a4b7
Seperate asset directories
2011-03-29 21:40:24 -05:00
Joshua Peek
651d371a24
Rename option to config.asset_pipeline
2011-03-29 21:23:05 -05:00
Joshua Peek
612454e00e
Move sprockets initializers back to application
2011-03-29 21:16:44 -05:00
Aaron Patterson
2be383b946
test against AR class rather than the relation (thanks Andrew White!)
2011-03-29 17:50:39 -07:00
Aaron Patterson
0471fc9f1c
Merge branch 'master' into zomg
...
* master: (51 commits)
order is not guaranteed by this select, so add an order and call first!
oracle stores this with microseconds, so convert to seconds before comparing
make sure that active connections are not cleared during test when an exception happens
clearing active connections in the ConnectionManagement middleware if an exception happens
proxy body responses so we close database connections after body is flushed
Pass the proper method_name instead of hardcoding to action_name.
Quote find_in_batches ORDER BY clause [#6620 state:resolved]
Delegate first!, last!, any? and many? to scoped
Dont call authenticate_or_request_with_http_basic twice
Remove 'warning: ambiguous first argument' when running ActionPack tests
Change exists? so that it doesn't instantiate records [#6127 state:resolved]
Move mapper_test to the appropriate location
Update the wildcard route to be non-greedy by default, therefore be able to match the (.:format) segment [#6605 state:resolved]
Fix examples
Added Base.http_basic_authenticate_with to do simple http basic authentication with a single class method call [DHH]
make sure we have an active database connection before running each connection management test
adding active_connections? to the connection pool for finding open connections
adding active_connection? to the connection pool
testing app delegation from the ConnectionManagement middleware
namespacing connection management tests. ❤️
...
2011-03-29 17:38:43 -07:00
Aaron Patterson
58becf1165
order is not guaranteed by this select, so add an order and call first!
2011-03-29 17:27:32 -07:00
Aaron Patterson
6067d29a1f
oracle stores this with microseconds, so convert to seconds before comparing
2011-03-29 17:09:22 -07:00
Joshua Peek
db3e310d6b
Change back to /assets prefix
2011-03-29 18:05:23 -05:00
Aaron Patterson
c7b7c6ad1c
make sure that active connections are not cleared during test when an exception happens
2011-03-29 15:47:16 -07:00
Aaron Patterson
3b2a032677
clearing active connections in the ConnectionManagement middleware if an exception happens
2011-03-29 15:42:32 -07:00