Santiago Pastorino
|
bbcdc864a6
|
README.rdoc is a template
|
2011-01-15 04:13:43 -02:00 |
|
Alexey Nayden
|
a9163b547c
|
Complex struct encoding fix
[#6077 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2011-01-15 00:06:26 -02:00 |
|
Alexey Nayden
|
d2c17dbd11
|
Complex struct encoding test
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2011-01-15 00:06:17 -02:00 |
|
Santiago Pastorino
|
d75ff73a72
|
plugin new generator should generate config/routes.rb file for full engines
|
2011-01-14 23:34:10 -02:00 |
|
Aaron Patterson
|
0aef847927
|
push !loaded? conditional up
|
2011-01-14 17:08:27 -08:00 |
|
Aaron Patterson
|
b8ed2d5ddf
|
return early in case the left or right side lists are empty
|
2011-01-14 17:03:15 -08:00 |
|
Aaron Patterson
|
75e29e871e
|
only find_target can raise the exception, so isolate the rescue around that call
|
2011-01-14 16:57:14 -08:00 |
|
Aaron Patterson
|
f548054700
|
we always have a target, so stop checking
|
2011-01-14 16:54:02 -08:00 |
|
Aaron Patterson
|
f5d2cb9cac
|
we should use [] instead of Array.new
|
2011-01-14 16:50:26 -08:00 |
|
Aaron Patterson
|
17687e4f96
|
@target is always a list, so stop doing is_a? checks
|
2011-01-14 16:47:31 -08:00 |
|
Aaron Patterson
|
2afd6c75f1
|
move complex logic to it's own method
|
2011-01-14 16:46:02 -08:00 |
|
Aaron Patterson
|
a0a69b045a
|
loaded? will not raise an AR::RecordNotFound exception, so move the rescue inside the conditional
|
2011-01-14 15:58:59 -08:00 |
|
Aaron Patterson
|
c326969745
|
reduce funcalls by using falsey objects
|
2011-01-14 14:45:46 -08:00 |
|
Aaron Patterson
|
dc11a77ab7
|
write the delegate method directly to avoid delegate callstack overhead
|
2011-01-14 14:40:11 -08:00 |
|
Aaron Patterson
|
ef4ffed660
|
reduce some lasigns
|
2011-01-14 14:30:47 -08:00 |
|
Aaron Patterson
|
2947197421
|
use rake to create test databases for us
|
2011-01-14 14:07:16 -08:00 |
|
Aaron Patterson
|
f30a3106f3
|
transactional fixtures must be set to false for this test
|
2011-01-14 13:45:30 -08:00 |
|
Aaron Patterson
|
92499b3c7e
|
Arel::Table.engine will be deprecated, so stop using it
|
2011-01-14 13:11:24 -08:00 |
|
Aaron Patterson
|
1e9685f159
|
preheat the table cache in arel
|
2011-01-14 11:16:31 -08:00 |
|
Santiago Pastorino
|
3755ae04a1
|
Add missing require
|
2011-01-14 17:11:15 -02:00 |
|
Aaron Patterson
|
7bf7ab5c68
|
use rack-test from git
|
2011-01-14 10:14:10 -08:00 |
|
Santiago Pastorino
|
9a57a2279e
|
sorry, the CI cannot lie to us anymore (Part II)
|
2011-01-13 10:55:41 -02:00 |
|
Aaron Patterson
|
3165dca28c
|
include_in_memory? should check against @target list in case of new records. [#6257 state:resolved]
|
2011-01-12 18:07:53 -08:00 |
|
Aaron Patterson
|
f2beb56c8b
|
fixing whitespace errors
|
2011-01-12 18:07:53 -08:00 |
|
Santiago Pastorino
|
1de47a0d56
|
button_tag should escape it content
|
2011-01-12 22:05:52 -02:00 |
|
Santiago Pastorino
|
20897a6c2c
|
Allow generators nested in more than one level
|
2011-01-12 21:42:56 -02:00 |
|
Aaron Patterson
|
c76c699f30
|
turn off deprecation silencing
|
2011-01-12 15:28:57 -08:00 |
|
Aaron Patterson
|
e1beb7d287
|
use array maths rather than *args
|
2011-01-12 15:15:45 -08:00 |
|
Aaron Patterson
|
8f9944d5bc
|
just use return value of load_target
|
2011-01-12 14:29:17 -08:00 |
|
Aaron Patterson
|
e9980f17fd
|
just call methods on return value of load_target
|
2011-01-12 14:27:08 -08:00 |
|
Aaron Patterson
|
bc993c690b
|
default return value is nil
|
2011-01-12 14:27:08 -08:00 |
|
Aaron Patterson
|
49696e0a62
|
@loaded is defined in initialize, so we should not need this
|
2011-01-12 14:27:08 -08:00 |
|
Aaron Patterson
|
8bee98fe3a
|
just use respond_to? and super rather than aliasing around methods
|
2011-01-12 14:27:08 -08:00 |
|
Xavier Noria
|
c07961ee54
|
fixes a comment in the generated app Gemfile
|
2011-01-12 21:22:38 +01:00 |
|
Xavier Noria
|
8b293e99ff
|
Merge branch 'master' of github.com:rails/rails
|
2011-01-12 21:19:10 +01:00 |
|
Xavier Noria
|
5bc98c9510
|
defines a :doc group in the project's Rakefile, just for the sake of clarity
|
2011-01-12 21:15:57 +01:00 |
|
Xavier Noria
|
1f28d1011e
|
adds a sample gem call for RedCloth in the generated app Gemfile
|
2011-01-12 21:14:34 +01:00 |
|
Xavier Noria
|
74188cbff4
|
upgrades RedCloth dependency to ~> 4.2, adds RedCloth to the project's Rakefile, removes gem call from the guides generator (use bundle exec if needed)
|
2011-01-12 21:12:44 +01:00 |
|
Xavier Noria
|
37bd45f893
|
upgrades to RDoc ~> 3.4 and removes the gem call in root Rakefile (use bundle exec if needed)
|
2011-01-12 20:59:31 +01:00 |
|
Aaron Patterson
|
31293ba9d3
|
remove locales external to the system before assertion
|
2011-01-12 11:15:11 -08:00 |
|
Aaron Patterson
|
16ae08fff0
|
use raise to create exceptions and to set the backtrace
|
2011-01-12 11:15:11 -08:00 |
|
Aaron Patterson
|
1d9c555297
|
reraising should be in the rescue block
|
2011-01-12 11:15:10 -08:00 |
|
Santiago Pastorino
|
daada51d10
|
Reuse the view_context from the controller, this make the test environment more similar to the code applications uses
|
2011-01-12 16:47:56 -02:00 |
|
Aaron Patterson
|
6ddabaa90c
|
sorry, the CI cannot lie to us anymore
|
2011-01-12 09:47:04 -08:00 |
|
Josh Kalderimis
|
199e220e88
|
Fixed various isolated test missing requires within AS.
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2011-01-12 12:37:28 -02:00 |
|
Josh Kalderimis
|
de18b85969
|
In AS, only inflector/methods is need in proxy_wrappers.rb, as well as date, date_time, and time conversions.rb. This fixes an issue when requiring json and AS saying that i18n is also required.
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2011-01-12 12:37:01 -02:00 |
|
Santiago Pastorino
|
de5852f1a6
|
CI should run isolated tests
|
2011-01-12 12:36:14 -02:00 |
|
Santiago Pastorino
|
6062d434f1
|
Allow view in AV::TestCase to access it's controller helpers methods
|
2011-01-12 12:14:00 -02:00 |
|
Aaron Patterson
|
f8700038af
|
adding a test for no method error
|
2011-01-11 17:57:02 -08:00 |
|
Aaron Patterson
|
fcd8925f23
|
use underlying _read_attribute method rather than causing NoMethodErrors
|
2011-01-11 15:39:26 -08:00 |
|