Mohammad Typaldos
a620e65053
Edited railties/guides/source/asset_pipeline.textile via GitHub
2011-06-05 14:49:50 -07:00
Vijay Dev
a2cf91a1a4
minor edits in migrations guide
2011-06-06 02:10:38 +05:30
Arun Agrawal
8e51383a6b
loading_test.rb with RAILS_ENV=development
2011-06-06 00:55:24 +05:30
Arun Agrawal
11d41e8b20
framework_test.rb also dependent on RAILS_ENV=development
2011-06-06 00:43:49 +05:30
Jon Leighton
f9b41237c8
load_path_test.rb is also dependent on RAILS_ENV=development
2011-06-05 18:27:52 +01:00
Vijay Dev
e1b202fc70
annotate class_eval method for active resource schema attributes
2011-06-05 21:44:04 +05:30
Guillermo Iguaran
c2c8ef57d6
Remove trailing white-spaces
2011-06-05 10:34:40 -05:00
Andrew White
4ecca0f985
Move CHANGELOG entry to future version
2011-06-05 12:52:14 +01:00
Andrew White
e864ff7259
Add backward compatibility for testing cookies
...
This commit restores the ability to assign cookies for testing via
@request.env['HTTP_COOKIE'] and @request.cookies, e.g:
@request.env['HTTP_COOKIE'] = 'user_name=david'
get :index
assert_equal 'david', cookies[:user_name]
and
@request.cookies[:user_name] = 'david'
get :index
assert_equal 'david', cookies[:user_name]
Assigning via cookies[] is the preferred method and will take precedence
over the other two methods. This is so that cookies set in controller
actions have precedence and are carried over between calls to get, post, etc.
2011-06-05 12:34:27 +01:00
Andrew White
0a9270417c
Ensure cookie keys are strings
2011-06-05 12:03:31 +01:00
Jon Leighton
523c7c2330
Fix adapter_test.rb to make no assumptions about the database name
2011-06-05 11:28:17 +01:00
Jon Leighton
3b7d100b51
Fix typo
2011-06-05 11:28:17 +01:00
José Valim
cc2851b848
Merge pull request #1426 from arunagw/sprockets_gem_update
...
sprockets gem update to beta9
2011-06-05 01:55:24 -07:00
José Valim
b5b31658bc
Merge pull request #1462 from arunagw/test_added_for_namedscope
...
Test added for namedscope target.
2011-06-05 00:12:05 -07:00
José Valim
9cdd606a9b
Merge pull request #1488 from guilleiguaran/multiple_sources_in_sprocket_helpers
...
Allow multiple sources in Sprockets helpers
2011-06-05 00:10:18 -07:00
Guillermo Iguaran
db8eeaff06
Allow multiple sources in Sprockets helpers
2011-06-05 01:01:35 -05:00
Jon Leighton
75e56101d4
Bring back oracle specific crap
2011-06-04 23:49:54 +01:00
Jon Leighton
253bb6b926
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
2011-06-04 23:47:03 +01:00
Jon Leighton
cdce7ff191
Force RAILS_ENV=development in rackup_test.rb. This fixes a problem on the CI server. For some reason the RAILS_ENV on the CI server is production, which means that the ActionDispatch::Static middleware is not used, and so the request in 'config.ru can be racked up' returns a 404 rather than a 200.
2011-06-04 23:47:03 +01:00
Xavier Noria
1c527afe87
adds Vijay Dev to the new Rails Guides Reviewers team
...
See http://weblog.rubyonrails.org/2011/6/2/news-from-the-documentation-front
2011-06-05 00:13:50 +02:00
Vijay Dev
9f19322b1f
correct code indendation in the initialization guide
2011-06-05 00:58:21 +05:30
Vijay Dev
087f8e16a6
s/ActiveRecord/Active Record according to api guidelines
2011-06-04 23:51:00 +05:30
Vijay Dev
9d15a35981
minor corrections in generators guide
2011-06-04 20:44:11 +05:30
Vijay Dev
50487bd0ef
fix incorrect module name for wrap parameters
2011-06-04 20:28:16 +05:30
Vijay Dev
fc9ff8cf41
some grammatical corrections
2011-06-04 20:12:25 +05:30
Vijay Dev
82aedbb96d
fix incorrect output
2011-06-04 20:12:25 +05:30
Alberto Perdomo
2eac4e2e2f
Fixed order of parameters in assert_equal call examples, first expected, then actual object.
2011-06-04 14:26:40 +01:00
Xavier Noria
bcc0a297d7
move Ryan up, since the list is ordered by surname
2011-06-04 14:35:12 +02:00
Xavier Noria
6a2863e78e
adds Ryan Bigg to the credits page of the guides, he is the author of the new configuring guide
2011-06-04 14:26:39 +02:00
Xavier Noria
cd8ecec31f
specify image dimensions for pictures in the guides credits page
2011-06-04 14:25:54 +02:00
Andrew White
a50865c7dc
Add missing require for cookies middleware
2011-06-04 09:35:48 +01:00
Andrew White
d4658d86fe
Refactor ActionController::TestCase cookies
...
Assigning cookies for test cases should now use cookies[], e.g:
cookies[:email] = 'user@example.com'
get :index
assert_equal 'user@example.com', cookies[:email]
To clear the cookies, use clear, e.g:
cookies.clear
get :index
assert_nil cookies[:email]
We now no longer write out HTTP_COOKIE and the cookie jar is
persistent between requests so if you need to manipulate the environment
for your test you need to do it before the cookie jar is created.
2011-06-04 07:09:11 +01:00
Rohit Arondekar
3035f72d17
Upcoming version of Rails is upon us so no need to refer to it. [API DOCS]
2011-06-03 21:54:33 -07:00
Vijay Dev
ced2b25036
use clearer variable name in examples
2011-06-04 02:11:43 +05:30
Waynn Lue
6fbd548b5f
add a missing "the" and normalize the use of periods.
2011-06-03 12:26:53 -07:00
Prem Sichanugrist
74f9a4629b
Revise documentation indentation from [79990505e5080804b53d81fec059136afa2237d7]
2011-06-03 15:06:03 -04:00
ganesh
79990505e5
updated Changelog
2011-06-04 00:31:45 +05:30
ganesh
5f66f7a9a2
added more tests for update_column
2011-06-04 00:04:59 +05:30
José Valim
64325a8242
Merge pull request #1468 from castlerock/fix_issue_1467
...
Double assignment of attributes on a collection association occurs fixed #1467
2011-06-03 06:22:35 -07:00
Raghunadh
7ef2f6fc04
Double assignment of attributes on a collection association occurs fixed for the issue issue #1467
2011-06-03 18:52:43 +05:30
Andrew White
54883682de
Don't double assign attributes - closes #1467 .
2011-06-03 13:57:00 +01:00
Linux on Rails
72f51990b7
FIXED: error with url_for & link_to when we have nested resources.
2011-06-03 03:01:41 -07:00
Vijay Dev
caa8ab09f7
remove stray (
2011-06-03 14:25:13 +05:30
Vijay Dev
b688f44390
use 'bundle exec rake'
2011-06-03 14:14:23 +05:30
Vijay Dev
b4af5b9d49
fix indentation, fixed-width for nils
2011-06-03 14:13:04 +05:30
Arun Agrawal
0695eb6dac
Test added for namedscope target.
2011-06-03 08:28:00 +05:30
brianp
a632746a6a
Fixed sections regarding validations and callbacks to mention the touch method does not fire either validations or callbacks as stated in the docs.
2011-06-02 15:03:36 -07:00
Ben Orenstein
8e071bc068
Change hashrocket spacing to match conventions.
2011-06-02 17:33:48 -04:00
Jon Leighton
f064664de7
Fix broken test. You know, the merge button will be the end of us...
2011-06-01 23:13:40 +01:00
Piotr Sarnacki
04593742c4
Merge pull request #1447 from dmathieu/empty_route
...
Fix creating an empty route on 1.8. Closes #1210
2011-06-01 12:47:19 -07:00