mirror of https://github.com/rails/rails
remove rubyforge.org that was shut down [ci skip]
This commit is contained in:
parent
0502189b50
commit
19ef270923
|
@ -130,8 +130,6 @@ module ActionView #:nodoc:
|
|||
# end
|
||||
# end
|
||||
# end
|
||||
#
|
||||
# More builder documentation can be found at http://builder.rubyforge.org.
|
||||
class Base
|
||||
include Helpers, ::ERB::Util, Context
|
||||
|
||||
|
|
|
@ -129,10 +129,10 @@ module ActiveRecord
|
|||
# is an instance of the value class. Specifying a custom converter allows the new value to be automatically
|
||||
# converted to an instance of value class if necessary.
|
||||
#
|
||||
# For example, the NetworkResource model has +network_address+ and +cidr_range+ attributes that
|
||||
# should be aggregated using the NetAddr::CIDR value class (http://netaddr.rubyforge.org). The constructor
|
||||
# for the value class is called +create+ and it expects a CIDR address string as a parameter. New
|
||||
# values can be assigned to the value object using either another NetAddr::CIDR object, a string
|
||||
# For example, the NetworkResource model has +network_address+ and +cidr_range+ attributes that should be
|
||||
# aggregated using the NetAddr::CIDR value class (http://www.ruby-doc.org/gems/docs/n/netaddr-1.5.0/NetAddr/CIDR.html).
|
||||
# The constructor for the value class is called +create+ and it expects a CIDR address string as a parameter.
|
||||
# New values can be assigned to the value object using either another NetAddr::CIDR object, a string
|
||||
# or an array. The <tt>:constructor</tt> and <tt>:converter</tt> options can be used to meet
|
||||
# these requirements:
|
||||
#
|
||||
|
|
|
@ -8,7 +8,7 @@ Rails 2.3 delivers a variety of new and improved features, including pervasive R
|
|||
Application Architecture
|
||||
------------------------
|
||||
|
||||
There are two major changes in the architecture of Rails applications: complete integration of the [Rack](http://rack.rubyforge.org/) modular web server interface, and renewed support for Rails Engines.
|
||||
There are two major changes in the architecture of Rails applications: complete integration of the [Rack](http://rack.github.io/) modular web server interface, and renewed support for Rails Engines.
|
||||
|
||||
### Rack Integration
|
||||
|
||||
|
|
|
@ -521,7 +521,7 @@ A large effort was made in Active Support to make it cherry pickable, that is, y
|
|||
These are the main changes in Active Support:
|
||||
|
||||
* Large clean up of the library removing unused methods throughout.
|
||||
* Active Support no longer provides vendored versions of [TZInfo](http://tzinfo.rubyforge.org/), [Memcache Client](http://deveiate.org/projects/RMemCache/) and [Builder](http://builder.rubyforge.org/,) these are all included as dependencies and installed via the `bundle install` command.
|
||||
* Active Support no longer provides vendored versions of TZInfo, Memcache Client and Builder these are all included as dependencies and installed via the `bundle install` command.
|
||||
* Safe buffers are implemented in `ActiveSupport::SafeBuffer`.
|
||||
* Added `Array.uniq_by` and `Array.uniq_by!`.
|
||||
* Removed `Array#rand` and backported `Array#sample` from Ruby 1.9.
|
||||
|
|
|
@ -13,7 +13,13 @@ After reading this guide, you will know:
|
|||
RDoc
|
||||
----
|
||||
|
||||
The Rails API documentation is generated with RDoc. Please consult the documentation for help with the [markup](http://rdoc.rubyforge.org/RDoc/Markup.html), and also take into account these [additional directives](http://rdoc.rubyforge.org/RDoc/Parser/Ruby.html).
|
||||
The [Rails API documentation](http://api.rubyonrails.org) is generated with RDoc.
|
||||
|
||||
```bash
|
||||
bundle exec rake rdoc
|
||||
```
|
||||
|
||||
Resulting HTML files can be found and browsed at ./doc/rdoc directory. Just open index.html file in the browser and you're done.
|
||||
|
||||
Wording
|
||||
-------
|
||||
|
|
|
@ -18,7 +18,7 @@ Introduction to Rack
|
|||
|
||||
Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.
|
||||
|
||||
- [Rack API Documentation](http://rack.rubyforge.org/doc/)
|
||||
* [Rack API Documentation](http://rack.github.io/)
|
||||
|
||||
Explaining Rack is not really in the scope of this guide. In case you are not familiar with Rack's basics, you should check out the [Resources](#resources) section below.
|
||||
|
||||
|
|
|
@ -741,7 +741,7 @@ s = sanitize(user_input, tags: tags, attributes: %w(href title))
|
|||
|
||||
This allows only the given tags and does a good job, even against all kinds of tricks and malformed tags.
|
||||
|
||||
As a second step, _it is good practice to escape all output of the application_, especially when re-displaying user input, which hasn't been input-filtered (as in the search form example earlier on). _Use `escapeHTML()` (or its alias `h()`) method_ to replace the HTML input characters &, ", <, > by their uninterpreted representations in HTML (`&`, `"`, `<`;, and `>`). However, it can easily happen that the programmer forgets to use it, so _it is recommended to use the [SafeErb](http://safe-erb.rubyforge.org/svn/plugins/safe_erb/) plugin_. SafeErb reminds you to escape strings from external sources.
|
||||
As a second step, _it is good practice to escape all output of the application_, especially when re-displaying user input, which hasn't been input-filtered (as in the search form example earlier on). _Use `escapeHTML()` (or its alias `h()`) method_ to replace the HTML input characters &, ", <, > by their uninterpreted representations in HTML (`&`, `"`, `<`;, and `>`). However, it can easily happen that the programmer forgets to use it, so _it is recommended to use the SafeErb gem. SafeErb reminds you to escape strings from external sources.
|
||||
|
||||
##### Obfuscation and Encoding Injection
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# IBM Dataservers
|
||||
#
|
||||
# Home Page
|
||||
# http://rubyforge.org/projects/rubyibm/
|
||||
# https://github.com/dparnell/ibm_db
|
||||
#
|
||||
# To install the ibm_db gem:
|
||||
#
|
||||
|
@ -31,8 +31,6 @@
|
|||
# Configure Using Gemfile
|
||||
# gem 'ibm_db'
|
||||
#
|
||||
# For more details on the installation and the connection parameters below,
|
||||
# please refer to the latest documents at http://rubyforge.org/docman/?group_id=2361
|
||||
#
|
||||
default: &default
|
||||
adapter: ibm_db
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Oracle/OCI 8i, 9, 10g
|
||||
#
|
||||
# Requires Ruby/OCI8:
|
||||
# http://rubyforge.org/projects/ruby-oci8/
|
||||
# https://github.com/kubo/ruby-oci8
|
||||
#
|
||||
# Specify your database using any valid connection syntax, such as a
|
||||
# tnsnames.ora service name, or an SQL connect string of the form:
|
||||
|
|
Loading…
Reference in New Issue