aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | Cache Module#parent_nameJeremy Kemper2008-07-141-6/+17
| | | | |
| | | * | Cache template loading for performance testsJeremy Kemper2008-07-141-0/+1
| | | | |
| | | * | Use instance_method(...) to check whether the method existsJeremy Kemper2008-07-141-2/+44
| | | | |
| | | * | Restore the more readable before_ and after_filters methods since they ↵Jeremy Kemper2008-07-141-10/+2
| | | | | | | | | | | | | | | | | | | | aren't called frequently
| | | * | Fixed that create database statements would always include "DEFAULT NULL" ↵David Heinemeier Hansson2008-07-143-1/+42
| | | | | | | | | | | | | | | | | | | | (Nick Sieger) [#334 status:committed]
| | | * | Added db:charset support to PostgreSQL. [#556 state:resolved]Sebastian A. Espindola2008-07-144-1/+22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | | * | Make script/plugin install <plugin> -r <revision> option work with git based ↵Tim Pope2008-07-142-15/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | plugins. [#257 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | | * | Add :accessible option to Associations for allowing mass assignments using ↵David Dollar2008-07-146-5/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hash. [#474 state:resolved] Allows nested Hashes (i.e. from nested forms) to hydrate the appropriate ActiveRecord models. class Post < ActiveRecord::Base belongs_to :author, :accessible => true has_many :comments, :accessible => true end post = Post.create({ :title => 'Accessible Attributes', :author => { :name => 'David Dollar' }, :comments => [ { :body => 'First Post!' }, { :body => 'Nested Hashes are great!' } ] }) post.comments << { :body => 'Another Comment' } Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | | * | Add block syntax to HasManyAssociation#build. [#502 state:resolve]Jason Dew2008-07-142-3/+37
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | | * | Make fixture accessors work when fixture name is not same as the table name. ↵Rhett Sutphin2008-07-142-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [#124 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | | * | Enable loading fixtures from arbitrary locations. [#586 state:resolved]Jacek Becela2008-07-141-4/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | | * | Slightly faster DateTime#to_json. [#598 state:resolved] [Alex Zepeda]Pratik Naik2008-07-141-1/+1
| | | | |
| | | * | Ensure :index works with fields_for select methods. [#518 state:resolved]rsl2008-07-142-4/+889
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | | * | Use full path in database tasks so commands will work outside of Rails root ↵Tapajós2008-07-131-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [#612 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| | | * | Check first render format and extension. Fixes failing ActionMailer test.Joshua Peek2008-07-131-1/+1
| | | | |
| | | * | Small tweak to e0fef66Joshua Peek2008-07-131-3/+3
| | | | |
| | | * | Made ActionView::Base#first_render a little more private. And added ↵Joshua Peek2008-07-138-23/+25
| | | | | | | | | | | | | | | | | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved]
| | * | | reverting changes to form_options_helper for mergeSven Fuchs2008-07-162-5/+821
| | | | |
| | * | | Removed unnecessary or condition in #error_messages_forLuca Guidi2008-07-082-4/+4
| | | | |
| | * | | Added localize helper methodLuca Guidi2008-07-082-0/+10
| | | | |
| | * | | Make sure object name is translated in #error_messages_forLuca Guidi2008-07-082-0/+11
| | | | |
| | * | | Updated ActiveRecord::Errors#default_error_messages deprecation warning ↵Luca Guidi2008-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | according to i18n changes
| | * | | align with changes in i18nSven Fuchs2008-07-0610-28/+23
| | | | |
| | * | | add a translation helperSven Fuchs2008-07-062-0/+58
| | | | |
| | * | | reverting changes to ActionMailerSven Fuchs2008-07-041-0/+5
| | | | |
| | * | | Reverting changes to ActionMailerSven Fuchs2008-07-044-149/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Experimental I18n charset support for ActionMailer" This reverts commit 6982acb0793fb6e59f52cab4062344a88e3691ce. Conflicts: actionmailer/lib/action_mailer/base.rb
| | * | | Reverting changes to ActionMailerSven Fuchs2008-07-042-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | Revert "Make sure ActionMailer use default charset if no defined by current locale" This reverts commit d41e4c1c3d6e6259f1cfc0cdbd4fc30fee0f866a.
| | * | | Merge branch 'i18n' of git@github.com:svenfuchs/rails into i18nSven Fuchs2008-07-042-16/+14
| | |\ \ \
| | | * | | Make sure ActionMailer use default charset if no defined by current localeLuca Guidi2008-07-032-16/+14
| | | | | |
| | * | | | use :default for human_attribute_nameSven Fuchs2008-07-042-2/+2
| | |/ / /
| | * | | remove core extensions in favor of I18n#translate and I18n#localizeSven Fuchs2008-07-029-84/+85
| | | | |
| | * | | Fixed Date and Time localization for ActiveSupportLuca Guidi2008-07-023-21/+96
| | | | |
| | * | | Experimental I18n charset support for ActionMailerLuca Guidi2008-07-014-5/+149
| | | | |
| | * | | Make sure mocha is availableLuca Guidi2008-06-274-361/+413
| | | | |
| | * | | silence deprecation warning during validations testSven Fuchs2008-06-231-1/+3
| | | | |
| | * | | including rcov shell scripts for referenceSven Fuchs2008-06-232-0/+15
| | | | |
| | * | | update tests according to removal of self.locale from helpersSven Fuchs2008-06-233-36/+0
| | | | |
| | * | | remove call to self.locale from helpersSven Fuchs2008-06-233-14/+5
| | | | |
| | * | | remove generic translate helpersSven Fuchs2008-06-232-52/+0
| | | | |
| | * | | rather cosmetic improvements of test coverageSven Fuchs2008-06-233-8/+64
| | | | |
| | * | | check self.locale instead of request.locale in helpersSven Fuchs2008-06-226-14/+14
| | | | |
| | * | | crap, an array never has a request, stupid.Sven Fuchs2008-06-221-1/+1
| | | | |
| | * | | Replaced country_options_for_select with old,Sven Fuchs2008-06-226-860/+862
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | untranslated version and moved country-related helpers to a new FormCountryHelper helper module so that they can easily be moved to a plugin. Updated tests accordingly.
| | * | | remove DeprecatedConstantToMethodProxy againSven Fuchs2008-06-221-17/+0
| | | | |
| | * | | experimental DeprecatedConstantToMethodProxySven Fuchs2008-06-211-0/+17
| | | | |
| | * | | incorporate #translate usage with several default keysSven Fuchs2008-06-213-54/+51
| | | | | | | | | | | | | | | | | | | | | | | | | (use first default key that resolves to a translation). this might, depending on the backend implementation save some expensive lookups (like db lookups)
| | * | | Renamed lang/ to locale/ because that's what we seem toSven Fuchs2008-06-217-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | standarize on. Also, in future this place can be used for data/code that's not literally translations but conceptually belongs to the locale (like custom pluralization algorithms etc.).
| | * | | Changed process of storing translations from theSven Fuchs2008-06-219-47/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client libraries to the backend: clients now can pass a block to backend#populate which can contain code to load and register translations. This makes sense for backends that persist their translations (e.g. to db) so the repeated loading and passing of translations throughout the server startup would be wasted resources.
| | * | | rename Backend::Simple#add_translations to set_translationsSven Fuchs2008-06-208-46/+46
| | | | | | | | | | | | | | | | | | | | because it overwrites existing translations
| | * | | add a generic tranlate view helperSven Fuchs2008-06-192-0/+52
| | | | |