raggi
|
cb1570936d
|
Rakefiles are executables, and rake loads rake, not rakefile code
|
2010-11-25 06:49:55 +08:00 |
|
raggi
|
d8692985fe
|
Don't depend on rubygems loading thread (for Mutex)
|
2010-11-25 06:47:27 +08:00 |
|
Aaron Patterson
|
ee74f2c623
|
alias should be a SQL literal
|
2010-11-24 14:16:38 -08:00 |
|
Aaron Patterson
|
38eb01863c
|
initialize instance variables in initialize... o_O
|
2010-11-24 14:11:12 -08:00 |
|
Aaron Patterson
|
34d21b87bb
|
adding a factory method to the join part for generating a table alias
|
2010-11-24 13:55:56 -08:00 |
|
Aaron Patterson
|
cdf6cf01cb
|
use ARel rather than generate SQL strings
|
2010-11-24 13:55:55 -08:00 |
|
Aaron Patterson
|
afe51afcc6
|
remove useless join
|
2010-11-24 13:55:55 -08:00 |
|
Aaron Patterson
|
d4b8d3bafa
|
moving column_aliases to JoinDependency
|
2010-11-24 13:55:55 -08:00 |
|
Aaron Patterson
|
a3ba60fd81
|
reduce method calls
|
2010-11-24 13:54:08 -08:00 |
|
Neeraj Singh
|
fa2a5ae033
|
If a user wants json output then try best to render json output. In such cases prefer kind_of(String) over respond_to?(to_str)
[#5841 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-11-24 22:08:36 +01:00 |
|
Neeraj Singh
|
66212f69ac
|
If a nested_attribute is being marked for destruction and at the same time an attr_accessor value is being assigned then the value being assigned is being ignored. This patch is a fix for that issue.
[#5939 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-11-24 22:08:36 +01:00 |
|
Neeraj Singh
|
18adbe9347
|
process text/* if it appears in the middle of
HTTP_ACCEPT parameter
|
2010-11-25 04:38:51 +08:00 |
|
Neeraj Singh
|
5c9abb6cca
|
processing image/* is an odditity because there is
a test case which expects image/* to not to be
expanded. So I am leaving image/* as it is and
process only text/* and application/*
|
2010-11-25 04:38:50 +08:00 |
|
Neeraj Singh
|
b52a6ba169
|
clean up test by using unregister method
|
2010-11-25 04:38:50 +08:00 |
|
Neeraj Singh
|
e870883625
|
unregister method implementation and test
|
2010-11-25 04:38:47 +08:00 |
|
Neeraj Singh
|
c6030e8562
|
Remove the not needed setup and teardown
|
2010-11-25 04:38:45 +08:00 |
|
Franck Verrot
|
7f8ce38b0d
|
Document the behavior of the dup method: does not preserve timestamps
|
2010-11-25 03:01:30 +08:00 |
|
Franck Verrot
|
7b77a1fc71
|
Typo in the comments of the clear_timestamp_attributes method
|
2010-11-25 03:01:30 +08:00 |
|
Franck Verrot
|
c17cb7326d
|
Dup should reset the timestamps as it is considered a new record
|
2010-11-25 01:18:43 +08:00 |
|
Franck Verrot
|
47f39d26a7
|
Testing that dup is resetting the timestamps
|
2010-11-25 01:18:43 +08:00 |
|
José Valim
|
8624065bff
|
Allow template handlers to store temp data.
|
2010-11-24 12:38:52 +01:00 |
|
Josh Kalderimis
|
e39138478b
|
port_string bought back to life as it is part of the public api
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-11-24 10:34:18 +01:00 |
|
Aaron Patterson
|
0687b21de8
|
removing ternary
|
2010-11-23 17:52:51 -08:00 |
|
Aaron Patterson
|
1aaa8edeb9
|
breaking classes up in to respective files
|
2010-11-23 17:42:49 -08:00 |
|
Aaron Patterson
|
a551d2ec62
|
fixing variable names. oops!
|
2010-11-23 17:42:49 -08:00 |
|
Neeraj Singh
|
8882e65ac8
|
No need to return anything
|
2010-11-24 08:00:40 +08:00 |
|
Aaron Patterson
|
8e8fb8a429
|
just wrap as a sql literal
|
2010-11-23 14:42:55 -08:00 |
|
Neeraj Singh
|
d33dcba72d
|
Do not send id for quoting twice if the primary key is string.
[#6022 state:resolved]
|
2010-11-23 14:33:00 -08:00 |
|
Aaron Patterson
|
0456feab11
|
updating changelog for dup and clone semantics
|
2010-11-23 14:29:05 -08:00 |
|
Aaron Patterson
|
d717cb2913
|
clone and dup are working on 1.8
|
2010-11-23 14:29:05 -08:00 |
|
Aaron Patterson
|
fe4388eb15
|
converting clone test to dup test
|
2010-11-23 14:29:05 -08:00 |
|
Aaron Patterson
|
064c28d6c2
|
fixing dup regressions
|
2010-11-23 14:29:05 -08:00 |
|
Aaron Patterson
|
93d78b8318
|
fixing more dup tests
|
2010-11-23 14:29:05 -08:00 |
|
Aaron Patterson
|
6a8f1b8b40
|
renaming duplication test to dup test
|
2010-11-23 14:29:04 -08:00 |
|
Aaron Patterson
|
c5858a6df3
|
adding a specific case for clone testing
|
2010-11-23 14:29:04 -08:00 |
|
Aaron Patterson
|
28f4df0908
|
testing duped attributes are independent
|
2010-11-23 14:29:04 -08:00 |
|
Aaron Patterson
|
4c1f76eaab
|
initialize_clone can go away
|
2010-11-23 14:29:04 -08:00 |
|
Aaron Patterson
|
035d00b665
|
making sure changes to dup will not touch original
|
2010-11-23 14:29:04 -08:00 |
|
Aaron Patterson
|
5badf60d12
|
dup keeps changes
|
2010-11-23 14:29:04 -08:00 |
|
Aaron Patterson
|
ca7b0a0d1a
|
dup is working better
|
2010-11-23 14:29:03 -08:00 |
|
Xavier Noria
|
0250c3eca4
|
copy-edits RDoc of 2fe43b6
|
2010-11-23 22:51:51 +01:00 |
|
Xavier Noria
|
85d64316a4
|
Merge branch 'master' of git://github.com/lifo/docrails
|
2010-11-23 21:59:50 +01:00 |
|
Emilio Tagua
|
9f35799221
|
Refactor && simplify count_records.
|
2010-11-23 09:51:07 -08:00 |
|
Emilio Tagua
|
e2bad8a2e7
|
No need to create a variables to use them once.
|
2010-11-24 01:37:02 +08:00 |
|
Emilio Tagua
|
d29d793c90
|
Don't create local vars.
|
2010-11-24 01:37:01 +08:00 |
|
Emilio Tagua
|
6ffe0ef55b
|
Avoid creating local var.
|
2010-11-24 01:37:01 +08:00 |
|
Emilio Tagua
|
63c9185b62
|
Remove explicit return and avoid creating local var.
|
2010-11-24 01:37:01 +08:00 |
|
Emilio Tagua
|
1b531b7ee2
|
Remove explicit return.
|
2010-11-24 01:37:00 +08:00 |
|
Emilio Tagua
|
b8df3a9197
|
Use params default.
|
2010-11-24 01:37:00 +08:00 |
|
Emilio Tagua
|
861cdc4c59
|
Remove unneeded local var.
|
2010-11-24 01:36:59 +08:00 |
|