José Valim
0a4035b12a
Revert the serializers API as other alternatives are now also under discussion
2011-11-25 19:29:39 +00:00
John Donahue
95e9b5fbfd
Updating newline fix to maintain existing linebreaks and indentation and test for b/eol on inserts
2011-11-25 09:06:14 -08:00
José Valim
6f5fdf8179
Merge pull request #3747 from lest/middleware-logger
...
middlewares should have configurable logger
2011-11-25 05:33:26 -08:00
Piotr Sarnacki
c9bb099318
Display mounted engines in rake routes
by default
2011-11-25 12:45:58 +01:00
lest
cd9d28d6fd
middlewares should use logger from env
2011-11-25 13:09:46 +03:00
José Valim
fcacc6986a
Merge branch 'serializers'
...
This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides.
From José and Yehuda with love.
Conflicts:
railties/CHANGELOG.md
2011-11-25 09:59:35 +00:00
ganesh
c8d7291b6b
Added tests for #3751
2011-11-25 14:55:28 +05:30
José Valim
6d9f9b3b05
Add a hook for serializers in the scaffold generator (off for now).
2011-11-25 09:17:32 +00:00
José Valim
ebb8ea22f3
Add generators for serializers.
2011-11-25 09:14:05 +00:00
Piotr Sarnacki
0cd3bf8406
Allow to display engine's routes when running rake routes ENGINES=true
2011-11-24 16:16:00 +01:00
José Valim
e6cfd85361
Merge pull request #3739 from lest/config-always-write-cookie
...
configuration option to always write cookie
2011-11-23 12:58:56 -08:00
lest
98a1717e7c
configuration option to always write cookie
2011-11-23 23:50:04 +03:00
Piotr Sarnacki
40b19e0635
Allow to change engine's loading priority with config.railties_order=
2011-11-23 21:36:33 +01:00
José Valim
fd86a1b6b0
Rely on a public contract between railties instead of accessing railtie methods directly.
2011-11-23 19:06:45 +00:00
lest
39d2251d8a
fix rails plugin new CamelCasedName bug
...
refs #3684
2011-11-19 19:09:09 +02:00
Arun Agrawal
76b6027cd8
Unused variable removed
2011-11-15 13:23:27 +05:30
Guillermo Iguaran
49cd6a0ff7
Added therubyrhino to default Gemfile under JRuby
2011-11-14 07:07:38 -05:00
Tyler Coville
49349089ad
Fixed error with 'rails generate new plugin' where the .gitignore was not properly generated if --dummy-path was used and added test case
2011-11-09 23:22:26 -08:00
Akira Matsuda
6d09f275c6
Modulize Rails console methods so that other console libraries such as Pry can include these methods
2011-11-09 15:42:19 +09:00
Akira Matsuda
7102a3d7fc
move Rails console top level methods to IRB context
2011-11-04 05:31:47 +09:00
Colin MacKenzie IV
5745a5e85e
treat USAGE as an ERB template
2011-11-02 09:00:18 -04:00
Jeremy Kemper
eabda416b7
Removing db/seeds.rb is fine. Don't blow up.
2011-10-29 14:14:13 -07:00
Hendy Tanata
010622bb98
On inpsect routes, show :controller and :action to indicate dynamic.
2011-10-29 20:04:33 +08:00
Denis Odorcic
177f893a28
Fix railtie configuration test calling PostsController#create which didn't exist
2011-10-27 02:16:59 -04:00
José Valim
20c59dd214
Fix failing tests.
2011-10-26 09:20:24 +02:00
Vijay Dev
8aabdc69b7
Merge pull request #3357 from rahul100885/rahul100885_ws
...
Added test case for postgresql database
2011-10-25 13:43:47 -07:00
Guillermo Iguaran
a458833705
Remove Turn from default Gemfile.
...
We still looking for a best presentation for tests output.
2011-10-22 14:34:05 -05:00
Arun Agrawal
5c5d5b3d25
Adding ActionDispatch::RequestId in middleware test
2011-10-20 12:59:27 +05:30
steve
40d1555091
Added test for rake environment in an engine
2011-10-18 17:11:50 +01:00
Rahul P. Chaudhari
d21405a07c
Added test case for postgresql database
2011-10-18 11:37:33 +05:30
Rahul Chaudhari
dc3f33eb60
Added test to check that the vendor/assets/stylesheets directory is created
2011-10-13 12:17:19 +05:30
Sasha Gerrand
84672b0c9d
Added test to check that the vendor/assets/javascripts directory is created
2011-10-11 18:48:51 +11:00
Vijay Dev
b27ca99b7b
Merge pull request #3265 from arunagw/warning_uri_parser
...
URI.escape is obsolete : warning removed
2011-10-10 04:34:22 -07:00
kennyj
6d05597d0f
fix invalid regex
2011-10-10 01:54:54 +09:00
Arun Agrawal
ca219a21b6
Warnings removed when running with 1.9.3
2011-10-09 17:15:55 +05:30
Arun Agrawal
2886513aea
URI.escape is obsolete : warning removed
2011-10-09 15:38:14 +05:30
Guillermo Iguaran
f655895e87
Isolate rake action tests that should be run under default env
2011-10-08 16:44:40 -05:00
Jeremy Kemper
2274c9212e
Merge remote-tracking branch 'guilleiguaran/test-utf8-assets-filename'
...
Closes #3261
2011-10-08 13:29:19 -07:00
Guillermo Iguaran
b111b41d13
Test utf8 assets filenames with request instead of manifest lookup
2011-10-08 15:24:52 -05:00
Jeremy Kemper
4888aba15f
The generator invokes rake with either the :env option, ENV['RAILS_ENV'], or development. So if Travis has exported RAILS_ENV=test, it'll be used instead of development, breaking these brittle expectations.
2011-10-08 13:09:28 -07:00
Jeremy Kemper
9ce03d1542
Skip broken asset precompilation test on Macs. Issues with NFD vs NFC normalization on the asset filename. Major red flag with asset lookups!
2011-10-08 12:56:06 -07:00
José Valim
4cea4ee6b5
Fix regression when calling helpers inside sprockets.
2011-10-05 09:37:58 +02:00
Mark J. Titorenko
9c69ef3167
correct path used in "digested assets are not mistakenly removed" test
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-10-04 22:04:49 +02:00
Mark J. Titorenko
1f0b78e045
add failing test: "digested assets are removed from configured path"
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-10-04 22:04:45 +02:00
José Valim
7f1a666db5
Fix failing tests and refactor assets.rake
2011-10-04 11:25:36 +02:00
Brendan Ribera
57d9737f2f
Test demonstrating #3053 : If-Modified-Since gets swallowed up by rack-cache.
2011-10-03 11:32:24 -07:00
Mark J. Titorenko
a7648c213d
add failing test for #3198
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-10-03 13:36:26 -02:00
Sam Pohlenz
6f429f375e
Ensure that enhancements to assets:precompile task are only run once
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-10-03 11:18:49 +02:00
Sam Pohlenz
0e1f7e0058
Replace calls to capture(:stdout) with quietly in assets tests
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-10-03 11:18:44 +02:00
José Valim
d68884f4fd
:group => :assets should only run in the assets environment.
2011-10-02 22:08:33 +02:00