Raghunadh
46ecb53fc2
removed the unnecessary back slashes from the regular expression
2011-06-10 13:39:24 +05:30
Raghunadh
2e07c71106
rafactored the regex related code in the mapper class
2011-06-07 19:02:08 +05:30
Xavier Noria
72cca79d36
adds missing require
2011-06-07 12:06:02 +02:00
Jon Leighton
ad9586bf38
Fix a couple of helper requires that were missed. This was causing the tests to fail to run on 1.8.7.
2011-06-07 08:35:55 +01:00
José Valim
e32e8ed966
Merge pull request #1474 from ganeshkumar/update_column_changes
...
added tests for update_column
2011-06-07 00:14:42 -07:00
Aaron Patterson
80451a1fa6
make sure AR isolated tests set the environment variable
2011-06-06 18:01:45 -07:00
Piotr Sarnacki
a6c5cc2377
Added missing assert to test checking form with namespaced isolated model and fixed helpers to work correctly in such case
2011-06-07 02:40:41 +02:00
Aaron Patterson
cd27cd5e49
oops! add parens so the block is properly bound
2011-06-06 17:00:08 -07:00
Aaron Patterson
8392f10b58
set the environment variable from the rake file
2011-06-06 16:51:45 -07:00
Aaron Patterson
424cf3b050
more oracle fixes
2011-06-06 15:47:29 -07:00
Aaron Patterson
517ca8771c
do not muck with the load path, that is the test task responsibility
2011-06-06 15:47:26 -07:00
Aaron Patterson
841d29639b
updating configs for oracle
2011-06-06 15:47:22 -07:00
Aaron Patterson
c8d124c0fc
add test to the include path
2011-06-06 15:47:17 -07:00
Aaron Patterson
61774e0d49
please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT
2011-06-06 15:47:13 -07:00
Xavier Noria
6cf458823f
Merge branch 'master' of git://github.com/lifo/docrails
2011-06-06 22:50:09 +02:00
Vijay Dev
1f272538bd
add info about docrails policy on changelogs
2011-06-07 02:03:48 +05:30
Jon Leighton
445c0607f7
Don't ensure all keys in build_results are only written once, otherwise we get false positive builds reported.
2011-06-06 21:27:29 +01:00
Jon Leighton
499dec0102
Make sure that the build/drop database rake tasks take account of the test/config.yml config
2011-06-06 21:27:28 +01:00
Xavier Noria
5e21247131
Merge branch 'master' of git://github.com/lifo/docrails
...
Conflicts:
activerecord/RUNNING_UNIT_TESTS
2011-06-06 22:23:30 +02:00
Xavier Noria
689e12b828
Revert "updated Changelog "
...
This reverts commit 79990505e5 .
Conflicts:
activerecord/CHANGELOG
Reason: Sorry, CHANGELOGs can't be edited via docrails.
2011-06-06 22:12:34 +02:00
Vijay Dev
5d8df14d6d
comment the recorder methods
2011-06-07 01:38:03 +05:30
Vijay Dev
428883b579
up and down are no longer class methods in a migration
2011-06-07 01:23:08 +05:30
Vijay Dev
c5786a951e
rearrange sections of the commandline guide giving more importance to rake tasks
2011-06-07 01:00:07 +05:30
Vijay Dev
660fb143fb
document assets related rake tasks
2011-06-07 00:16:43 +05:30
Jon Leighton
38ad6bb2f5
Fix double definition of #teardown. Thanks @mike-burns 👍
2011-06-06 17:57:02 +01:00
Jon Leighton
afe1911228
Fix another CIfail ⚡ 🔥 Deleting RAILS_ENV from ENV doesn't produce the desired result if RACK_ENV is still defined. And in any case it's better to be explicit here, so just set RALS_ENV=development.
2011-06-06 17:57:02 +01:00
Aaron Patterson
fe5a6ec45f
remove call to source index
2011-06-06 09:52:40 -07:00
David Heinemeier Hansson
73b64bcd15
Use Latest Sprockets beta
2011-06-06 18:37:35 +02:00
Jon Leighton
62570e8626
Solve the RAILS_ENV problem in the railties tests in a more generic way
2011-06-06 13:54:05 +01:00
José Valim
2d3ba54b86
Merge pull request #1504 from arunagw/console_test_for_ci_server
...
Fix for CI server. Dependent on RAILS_ENV=development
2011-06-06 03:52:34 -07:00
Arun Agrawal
5d78d81222
Fix for CI server. Dependent on RAILS_ENV=development
2011-06-06 16:13:22 +05:30
Mariusz Pękala
c0c0a64ce6
Validations guide: order of :after_save callback was incorrect.
...
The guide was contracting itself. First it stated that 'there is a list
of callbacks in order of execution', on the list 'after_save' was placed
before 'after_create', and then there was a warning that 'after_save'
runs after them. I am not sure about 'around_' callbacks, but let's
leave that for another patch.
2011-06-06 11:51:18 +02:00
José Valim
38b97d289c
Merge pull request #1497 from arunagw/framework_test
...
framework_test.rb also dependent on RAILS_ENV=development
2011-06-06 02:43:32 -07:00
Guillermo Iguaran
d3d5b048f9
Change http://api.rubyonrails.com to http://api.rubyonrails.org
2011-06-05 20:36:09 -07:00
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