mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge branch 'master' of git://github.com/lifo/docrails
This commit is contained in:
commit
21a92b8d01
5 changed files with 8 additions and 9 deletions
|
@ -292,9 +292,6 @@ module ActionView
|
|||
#
|
||||
# * = The application.js file is only referenced if it exists
|
||||
#
|
||||
# Though it's not really recommended practice, if you need to extend the default JavaScript set for any reason
|
||||
# (e.g., you're going to be using a certain .js file in every action), then take a look at the register_javascript_include_default method.
|
||||
#
|
||||
# You can also include all javascripts in the +javascripts+ directory using <tt>:all</tt> as the source:
|
||||
#
|
||||
# javascript_include_tag :all # =>
|
||||
|
|
|
@ -31,8 +31,13 @@ That'll run the base suite using the MySQL-Ruby adapter. Some tests rely on the
|
|||
being initialized - you can initialize the schema with:
|
||||
|
||||
rake test_mysql TEST=test/cases/aaa_create_tables_test.rb
|
||||
rake mysql:build_databases
|
||||
|
||||
To setup the testing environment for PostgreSQL use this command:
|
||||
|
||||
rake postgresql:build_databases
|
||||
|
||||
The incantation for running a particular test looks like this
|
||||
|
||||
ruby -w -I"lib:test:test/connections/native_postgresql" test/cases/datatype_test_postgresql.rb -n test_timestamp_with_zone_values_without_rails_time_zone_support
|
||||
rake test TEST=test/cases/datatype_test_postgresql.rb TESTOPTS="-n test_timestamp_with_zone_values_without_rails_time_zone_support"
|
||||
|
||||
|
|
|
@ -253,9 +253,6 @@ javascript_include_tag :monkey # =>
|
|||
<script type="text/javascript" src="/javascripts/tail.js"></script>
|
||||
</ruby>
|
||||
|
||||
h5. register_javascript_include_default
|
||||
|
||||
Register one or more additional JavaScript files to be included when +javascript_include_tag :defaults+ is called. This method is typically intended to be called from plugin initialization to register additional +.js+ files that the plugin installed in +public/javascripts+.
|
||||
|
||||
h5. register_stylesheet_expansion
|
||||
|
||||
|
|
|
@ -3070,7 +3070,7 @@ The +Rails::Plugin::Configuration+ class may be a bit difficult to find at first
|
|||
|
||||
<ruby>
|
||||
module Rails
|
||||
class Plugin < Railtie
|
||||
class Plugin < Engine
|
||||
...
|
||||
end
|
||||
end
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# By default prefetch_rows (OCI_ATTR_PREFETCH_ROWS) is set to 100. And
|
||||
# until true bind variables are supported, cursor_sharing is set by default
|
||||
# to 'similar'. Both can be changed in the configation below; the defaults
|
||||
# to 'similar'. Both can be changed in the configuration below; the defaults
|
||||
# are equivalent to specifying:
|
||||
#
|
||||
# prefetch_rows: 100
|
||||
|
|
Loading…
Reference in a new issue