aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* This parameter is typecast in Rails 3Henare Degan2013-02-07-1/+1
|
* #errors always returns an array now so check for an empty one insteadHenare Degan2013-02-07-2/+2
|
* Bring over test-specific translations config from Rails 2 test helperHenare Degan2013-02-07-3/+4
|
* Update to globalize3 methodHenare Degan2013-02-07-1/+1
|
* Fix bug to allow updating attributes when using strip_attributes and globalize3Henare Degan2013-02-07-7/+9
| | | | | | | | | | | We do this by making strip_attributes manipulate the unsaved object so that it doesn't interact with globalize3. Calling 'record.attributes' would invoke the globalize3 overridden method, which returns the stale translated attribute values. We now use the object's values instead which are the ones we have just assigned and want to update to.
* Update strip_attribute tests to work with our existing modificationsHenare Degan2013-02-07-3/+3
|
* Add a test that exposes a problem we have with renaming attributesHenare Degan2013-02-07-0/+8
|
* Move over to rails 3 mail api because there appear to be problems with ↵Matthew Landauer2013-02-01-11/+11
| | | | sending attachments
* Another hack to manually stitch together a fake email using tmailMatthew Landauer2013-02-01-1/+27
|
* Handling of globbed parameters in routes has changedMatthew Landauer2013-02-01-9/+10
|
* Directly construct tmail object from body and attachments. Ugh. Because ↵Matthew Landauer2013-01-31-2/+22
| | | | actionmailer uses mail under the hood
* Added a bit of a safety net. It's an ugly temporary hack to make debugging ↵Matthew Landauer2013-01-31-0/+8
| | | | easier
* Simplify redirection testMatthew Landauer2013-01-31-4/+2
|
* Globbing in routes is slightly different in Rails 3Matthew Landauer2013-01-31-2/+2
|
* There's really no need to test the internals of RailsMatthew Landauer2013-01-31-12/+7
|
* Cast mail.body to string before matching with a regexMatthew Landauer2013-01-31-1/+1
|
* Access view helper from controller using view_contextMatthew Landauer2013-01-31-1/+1
|
* Fix rendering of atom feed and set correct content typeMatthew Landauer2013-01-31-2/+2
|
* Change that should have been merged in from develop when one form of caching ↵Matthew Landauer2013-01-31-22/+20
| | | | was removed
* Test result of test with examples rather than another implementationMatthew Landauer2013-01-31-5/+14
|
* Convert query to more activerecord 3 formMatthew Landauer2013-01-31-2/+2
|
* Merge branch 'i18n_rails3_preparation' into rails-3-spikeMatthew Landauer2013-01-31-51/+50
|\ | | | | | | | | | | | | | | Conflicts: Gemfile.lock app/controllers/general_controller.rb app/controllers/public_body_controller.rb spec/controllers/public_body_controller_spec.rb
| * Add comment about vendor/rails-locales and Rails 3Matthew Landauer2013-01-17-0/+2
| |
| * As much as possible use I18n.locale for getting the localeMatthew Landauer2013-01-17-2/+2
| |
| * Small refactorMatthew Landauer2013-01-17-6/+1
| |
| * Refactor using I18.with_localeMatthew Landauer2013-01-17-4/+3
| |
| * Set locale with I18n rather than through globalizeMatthew Landauer2013-01-17-26/+26
| |
| * Small refactoring in PublicBody.self.find_by_url_name_with_historic just use ↵Matthew Landauer2013-01-16-22/+19
| | | | | | | | the current locale
| * Set locale in controller test by passing parameter in getMatthew Landauer2013-01-16-11/+7
| | | | | | | | Also using I18n.locale to pass the current locale around.
| * bundle update fast_gettext gettext_i18n_rails gettext locale routing-filterMatthew Landauer2013-01-16-1/+1
| |
| * Remove version restrictions on gems related to i18nMatthew Landauer2013-01-16-10/+10
| |
| * bundle update fast_gettext gettext_i18n_rails gettext locale routing-filterMatthew Landauer2013-01-16-5/+7
| |
| * Moved all gems related to i18n into one place in GemfileMatthew Landauer2013-01-16-5/+8
| |
* | Convert query to more activerecord 3 formMatthew Landauer2013-01-31-4/+2
| |
* | Convert query to more activerecord 3 formMatthew Landauer2013-01-30-4/+2
| |
* | Convert query to more activerecord 3 formMatthew Landauer2013-01-30-7/+5
| |
* | Convert query to more activerecord 3 formMatthew Landauer2013-01-30-2/+6
| |
* | Convert query to more activerecord 3 formMatthew Landauer2013-01-30-3/+7
| |
* | Updated test to correctly test what it was testingMatthew Landauer2013-01-30-2/+1
| |
* | If now query is supplied get all the requestsMatthew Landauer2013-01-30-4/+10
| |
* | Find is now being called with an integer rather than a string. All goodMatthew Landauer2013-01-30-1/+1
| |
* | Objects need to be strings before they can be cast with to_strMatthew Landauer2013-01-30-2/+2
| |
* | Add dynamic_form gem as error messages helper for forms has moved thereMatthew Landauer2013-01-30-0/+3
| |
* | mail from_addrs now doesn't return the nameMatthew Landauer2013-01-29-1/+1
| |
* | errors returns an array nowMatthew Landauer2013-01-29-1/+1
| |
* | params_from doesn't exist anymoreMatthew Landauer2013-01-29-2/+2
| |
* | When matching mail.body with regex cast to string firstMatthew Landauer2013-01-29-3/+3
| |
* | Replace use of response.should send_email with checking ↵Matthew Landauer2013-01-29-4/+4
| | | | | | | | ActionMailer::Base.deliveries
* | Clear out ActionMailer::Base.deliveries before each test. Rspec should be ↵Matthew Landauer2013-01-29-33/+7
| | | | | | | | doing this but isn't for controller tests
* | render_for_text doesn't exist anymore. Replace with render :textMatthew Landauer2013-01-29-3/+2
| |