- 21 12月, 2013 4 次提交
-
-
由 David Heinemeier Hansson 提交于
Generates html and text templates for mailers by default.
-
由 Xavier Noria 提交于
-
由 Aaron Patterson 提交于
-
由 Kassio Borges 提交于
-
- 20 12月, 2013 36 次提交
-
-
由 Rafael Mendonça França 提交于
Bump Jbuilder version to 2.0.0
-
由 Pavel Pravosud 提交于
-
由 Yves Senn 提交于
Do not expect database user with app name to exist
-
before: ActiveSupport::NumberHelper.number_to_rounded '3.14159', precision: 50 => "3.14158999999999988261834005243144929409027099609375" after: ActiveSupport::NumberHelper.number_to_rounded '3.14159', precision: 50 => "3.14159000000000000000000000000000000000000000000000"
-
由 Jeremy Kemper 提交于
Add configuration option to optionally disable deep_munge Conflicts: actionpack/CHANGELOG.md
-
由 Guillermo Iguaran 提交于
Use sass-rails 4.0.0
-
由 Takayuki Matsubara 提交于
-
由 Richard Schneeman 提交于
fix CollectionAssociation's comments
-
由 schneems 提交于
By default when creating a project with `--database=postgresql` the `config/database.yml` file that is generated has a user specified that is the same as the app name ``` development: adapter: postgresql encoding: unicode database: <%= app_name %>_development pool: 5 username: <%= app_name %> password: ``` This is counterintuitive and would rarely be valid. By default postgres creates a user with the current user name (http://www.postgresql.org/docs/9.3/static/database-roles.html) "it will have the same name as the operating system user that initialized the database cluster": ``` $ whoami schneems ``` If the `username` is left out postgresql will assume that you wish to log in as the default user ``` $ psql -c '\du' List of roles Role name | Attributes | Member of -----------+------------------------------------------------+----------- schneems | Superuser, Create role, Create DB, Replication | {} ``` A good sensible default then for auto generated `database.yml` files is to remove the `username`, and have postgres attempt to connect to the database as the currently logged in user. Instead of submitting with a blank password, don't submit a password.
-
由 Ben Angel 提交于
change CollectionAssociation's comments to say Association instead of AssociationProxy to match changes for 3.1 removing Association proxy.
-
由 Guillermo Iguaran 提交于
Flag `config.assets.raise_runtime_errors` in dev
-
由 schneems 提交于
By default `config.assets.raise_runtime_errors` should be set to `true` in development for new apps. Source: https://github.com/rails/sprockets-rails/pull/100
-
由 Lauro Caetano 提交于
Describe precision + scale in migrations guide
-
由 Rafael Mendonça França 提交于
quoting: Check if id is a valid method before using it
-
由 Rafael Mendonça França 提交于
Make `rails runner` command options more obvious
-
由 Taryn East 提交于
Telling somebody that "precision sets the precision" is not very helpful. Newbies want to know what precision is *for*, likewise with scale. So I've added a very brief description for each.
-
由 Rafael Mendonça França 提交于
-
由 Arthur Neves 提交于
Need to check if valud also respond_to :id before calling it, otherwise things could explode.
-
由 Rafael Mendonça França 提交于
fix default select when from is used
-
由 schneems 提交于
We're surrounding the options in angle brackets `<>` as is convention in `curl`: ``` $ curl --help Usage: curl [options...] <url> ``` And then in square brackets `[]` with bars `|` as in `tar`: ``` $ tar --help ... Create: tar -c [options] [<file> | <dir> | @<archive> | -C <dir> ] ``` To further clarify that the command can be used with both, we now show examples: ``` Examples: rails runner 'puts Rails.env' This runs the code `puts Rails.env` after loading the app rails runner path/to/filename.rb This runs the Ruby file located at `path/to/filename.rb` after loading the app ``` This format was taken from the `find` man pages: ``` EXAMPLES The following examples are shown as given to the shell: find / \! -name "*.c" -print Print out a list of all the files whose names do not end in .c. find / -newer ttt -user wnj -print Print out a list of all the files owned by user ``wnj'' that are newer than the file ttt. ``` The the text at the bottom is also shifted to improve readability.
-
由 Cody Cutrer 提交于
-
由 Carlos Antonio da Silva 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
This reverts commit 293a1a68.
-
由 Xavier Noria 提交于
Example code does not run yet with beta1.
-
由 Rafael Mendonça França 提交于
Remove <tt> tag in 4_1_release notes. [ci skip].
-
由 Juanito Fatas 提交于
-
由 Vijay Dev 提交于
-
由 Xavier Noria 提交于
-
由 Vijay Dev 提交于
This reverts commit b58f3a64. Reason: Discussion in https://github.com/rails/docrails/commit/b58f3a641795e1777aa3e12a853c34ff512acfb9 [ci skip]
-