@@ -420,9 +421,9 @@ NOTE: Defined in `active_support/core_ext/object/with_options.rb`.
### JSON support
Active Support provides a better implemention of `to_json` than the +json+ gem ordinarily provides for Ruby objects. This is because some classes, like +Hash+ and +OrderedHash+ needs special handling in order to provide a proper JSON representation.
Active Support provides a better implemention of `to_json` than the `json` gem ordinarily provides for Ruby objects. This is because some classes, like `Hash` and `OrderedHash` needs special handling in order to provide a proper JSON representation.
Active Support also provides an implementation of `as_json` for the <tt>Process::Status</tt> class.
Active Support also provides an implementation of `as_json` for the `Process::Status` class.
NOTE: Defined in `active_support/core_ext/object/to_json.rb`.
...
...
@@ -1987,7 +1988,7 @@ Produce a string representation of a number in human-readable words:
Te method `to_formatted_s` provides a default specifier of "F". This means that a simple call to `to_formatted_s` or `to_s` will result in floating point representation instead of engineering notation:
The method `to_formatted_s` provides a default specifier of "F". This means that a simple call to `to_formatted_s` or `to_s` will result in floating point representation instead of engineering notation:
```ruby
BigDecimal.new(5.00,6).to_formatted_s# => "5.0"
...
...
@@ -2432,7 +2433,7 @@ dup[1][2] = 4
array[1][2]==nil# => true
```
NOTE: Defined in `active_support/core_ext/array/deep_dup.rb`.
NOTE: Defined in `active_support/core_ext/object/deep_dup.rb`.
If you have any problems with these libraries, you can install them manually by compiling the source code. Just follow the instructions at the [Red Hat/CentOS section of the Nokogiri tutorials](http://nokogiri.org/tutorials/installing_nokogiri.html#red_hat__centos) .
Also, SQLite3 and its development files for the `sqlite3-ruby` gem — in Ubuntu you're done with just
Also, SQLite3 and its development files for the `sqlite3` gem — in Ubuntu you're done with just
```bash
$ sudo apt-get install sqlite3 libsqlite3-dev
...
...
@@ -71,6 +77,12 @@ And if you are on Fedora or CentOS, you're done with
$ sudo yum install sqlite3 sqlite3-devel
```
If you are on Arch Linux, you will need to run:
```bash
$ sudo pacman -S sqlite
```
Get a recent version of [Bundler](http://gembundler.com/)