Xavier Noria
d8f23ca627
removes debug_rjs from ActionView::Base
2011-04-13 13:24:32 +02:00
Xavier Noria
7c9d91f53e
removes render :update from views
2011-04-13 13:24:32 +02:00
Xavier Noria
90de26703e
removes ActionView::Helpers::PrototypeHelper
2011-04-13 13:24:32 +02:00
Xavier Noria
06bdaae071
removes ActionView::Helpers::ScriptaculousHelper
2011-04-13 13:24:31 +02:00
Xavier Noria
5850f16935
removes the RJS template handler
2011-04-13 13:23:18 +02:00
Xavier Noria
eea66892c8
removes support for render :update
2011-04-13 13:23:17 +02:00
Xavier Noria
25181cafee
let the default function in button_to_function be nil
...
I don't know which is the use case for button_to_function(name)
but there's a test for it. I am focused now on RJS extraction
and do not want to introduce a backwards incompatible change
at this moment. Perhaps worth revisiting when the whole thing
is done.
2011-04-13 13:23:16 +02:00
Xavier Noria
f9472f064f
applies API guidelines to example
2011-04-13 13:23:16 +02:00
Xavier Noria
3223e04a21
removes support for RJS in button_to_function
2011-04-13 13:23:16 +02:00
Xavier Noria
b878757c50
removes assert_select_rjs
2011-04-13 13:23:16 +02:00
Xavier Noria
8449da929e
removes support for RJS in link_to_function
2011-04-13 13:23:16 +02:00
Xavier Noria
096fa1b60f
jQuery is the new default
2011-04-13 13:23:16 +02:00
Matt Duncan
805126b20a
Aligning comments
2011-04-13 16:14:53 +08:00
Matt Duncan
93def19063
Fixing distance_of_time_in_words range near 2 days
2011-04-13 16:14:52 +08:00
Joshua Peek
f004c88681
Merge branch 'sprockets'
2011-04-12 22:35:24 -05:00
Aaron Patterson
1b5b53da5e
common @jonleighton 💣
2011-04-12 20:29:35 -07:00
Joshua Peek
a4518517f7
Index sprockets environment if perform caching is enabled
2011-04-12 22:12:27 -05:00
Joshua Peek
ed24595647
Merge branch 'master' into sprockets
2011-04-12 21:56:00 -05:00
Jon Leighton
f0e198bfa1
Deprecate defining scopes with a callable (lambda, proc, etc) via the scope class method. Just define a class method yourself instead.
2011-04-12 19:46:05 -07:00
Jon Leighton
788bd30859
ActiveRecord::Base.scopes hash is not needed
2011-04-12 19:46:04 -07:00
Jon Leighton
8572ae6671
Evaluate default scopes at the last possible moment in order to avoid problems with default scopes getting included into other scopes and then being unable to remove the default part via unscoped.
2011-04-12 19:46:04 -07:00
Jon Leighton
5740d4ec0c
Deprecated support for passing hashes and relations to default_scope, in favour of defining a 'default_scope' class method in the model. See the CHANGELOG for more details.
2011-04-12 19:46:04 -07:00
Jon Leighton
fc9a04b6a6
Removing the scope-caching which happens on association proxies, because the query is already cached by the query cacher. For formalised proof see http://www.youtube.com/watch?v=wDefXLb-FDs
2011-04-12 19:46:04 -07:00
Sebastian Martinez
a616e7a88c
Update test name to the corresponding method name
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-04-12 21:04:00 -03:00
Xavier Noria
3366479a9a
Merge branch 'master' of git://github.com/lifo/docrails
2011-04-12 22:45:33 +02:00
Sebastian Martinez
40d156955c
Update guides reflecting that scaffold_controller generator generates now code for JSON response instead of XML
2011-04-11 22:43:27 -03:00
Sebastian Martinez
7a1189a2c7
Updated AS guide with new Object#in? and Object#either? methods
2011-04-11 20:09:22 -03:00
Aaron Patterson
b53ffb35e0
stop using deprecated methods in arel
2011-04-11 15:50:05 -07:00
Xavier Noria
3f283c2dd5
Revert "Edited railties/guides/source/active_support_core_extensions.textile via GitHub"
...
Reason: The original sentence is correct. Please note the guide
covers the stable version of Active Support.
This reverts commit 5265650d51713a883e6cacde8f6faf52708abc1b.
2011-04-12 00:37:02 +02:00
David Heinemeier Hansson
d1575ae1b9
Change Object#either? to Object#among? -- thanks to @jamesarosen for the suggestion!
2011-04-12 00:23:07 +02:00
Aaron Patterson
5918b868b2
remove so many nested if statements
2011-04-11 15:19:10 -07:00
Aaron Patterson
622f23b604
wrap the pg_get_serial_sequence function and reuse it for the default sequence name
2011-04-11 14:38:42 -07:00
Oge Nnadi
5265650d51
Edited railties/guides/source/active_support_core_extensions.textile via GitHub
2011-04-11 14:26:23 -07:00
Aaron Patterson
75dc9fbac7
cache table exists queries in prepared statement cache
2011-04-11 14:12:31 -07:00
Aaron Patterson
f6c0c8ff61
only use the primary_key method, refactor schema and table name parsing
2011-04-11 14:08:27 -07:00
Aaron Patterson
a9e8554b46
use prepared statements for primary key queries
2011-04-11 13:57:00 -07:00
Aaron Patterson
5df072d64b
last insert id can never be called, so remove that code path
2011-04-11 13:10:20 -07:00
Oge Nnadi
d5634b2287
Added missing </tt>
2011-04-11 13:08:58 -07:00
Oge Nnadi
d3dce774ef
Edited README.rdoc via GitHub
2011-04-11 12:57:52 -07:00
Oge Nnadi
a43abfafd2
Rewording
2011-04-11 12:54:46 -07:00
Aaron Patterson
9ba94c8fc4
we know the table and pk, so we can calculate a default sequence name
2011-04-11 10:54:08 -07:00
Aaron Patterson
cbb65de1a6
always look up pk and sequence unless both are provided
2011-04-11 10:37:23 -07:00
Aaron Patterson
302b6f3f73
pg does not know the insert_id in advance, so super will never return true
2011-04-11 10:31:13 -07:00
Aaron Patterson
4c30304e15
updating the docco for ActiveRecord::Result
2011-04-11 10:10:01 -07:00
Aaron Patterson
269cd1b3c5
implement exec_query on mysql2 adapter
2011-04-11 10:10:01 -07:00
Aaron Patterson
8a11799a47
make sqlite insert_sql more consistent with other adapters
2011-04-11 10:10:01 -07:00
Aaron Patterson
58259bbf29
adding exec_insert for postgresql
2011-04-11 10:10:01 -07:00
Aaron Patterson
b1ba04b32b
fixing variable name in mysql test
2011-04-11 10:10:01 -07:00
Aaron Patterson
90a371496a
properly name schema queries for the logger
2011-04-11 10:10:01 -07:00
Aaron Patterson
3d96e6217b
adding mysql adapter test case
2011-04-11 10:10:00 -07:00