Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | This parameter is typecast in Rails 3 | Henare Degan | 2013-02-07 | -1/+1 |
| | ||||
* | #errors always returns an array now so check for an empty one instead | Henare Degan | 2013-02-07 | -2/+2 |
| | ||||
* | Bring over test-specific translations config from Rails 2 test helper | Henare Degan | 2013-02-07 | -3/+4 |
| | ||||
* | Update to globalize3 method | Henare Degan | 2013-02-07 | -1/+1 |
| | ||||
* | Fix bug to allow updating attributes when using strip_attributes and globalize3 | Henare Degan | 2013-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 modifications | Henare Degan | 2013-02-07 | -3/+3 |
| | ||||
* | Add a test that exposes a problem we have with renaming attributes | Henare Degan | 2013-02-07 | -0/+8 |
| | ||||
* | Move over to rails 3 mail api because there appear to be problems with ↵ | Matthew Landauer | 2013-02-01 | -11/+11 |
| | | | | sending attachments | |||
* | Another hack to manually stitch together a fake email using tmail | Matthew Landauer | 2013-02-01 | -1/+27 |
| | ||||
* | Handling of globbed parameters in routes has changed | Matthew Landauer | 2013-02-01 | -9/+10 |
| | ||||
* | Directly construct tmail object from body and attachments. Ugh. Because ↵ | Matthew Landauer | 2013-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 Landauer | 2013-01-31 | -0/+8 |
| | | | | easier | |||
* | Simplify redirection test | Matthew Landauer | 2013-01-31 | -4/+2 |
| | ||||
* | Globbing in routes is slightly different in Rails 3 | Matthew Landauer | 2013-01-31 | -2/+2 |
| | ||||
* | There's really no need to test the internals of Rails | Matthew Landauer | 2013-01-31 | -12/+7 |
| | ||||
* | Cast mail.body to string before matching with a regex | Matthew Landauer | 2013-01-31 | -1/+1 |
| | ||||
* | Access view helper from controller using view_context | Matthew Landauer | 2013-01-31 | -1/+1 |
| | ||||
* | Fix rendering of atom feed and set correct content type | Matthew Landauer | 2013-01-31 | -2/+2 |
| | ||||
* | Change that should have been merged in from develop when one form of caching ↵ | Matthew Landauer | 2013-01-31 | -22/+20 |
| | | | | was removed | |||
* | Test result of test with examples rather than another implementation | Matthew Landauer | 2013-01-31 | -5/+14 |
| | ||||
* | Convert query to more activerecord 3 form | Matthew Landauer | 2013-01-31 | -2/+2 |
| | ||||
* | Merge branch 'i18n_rails3_preparation' into rails-3-spike | Matthew Landauer | 2013-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 3 | Matthew Landauer | 2013-01-17 | -0/+2 |
| | | ||||
| * | As much as possible use I18n.locale for getting the locale | Matthew Landauer | 2013-01-17 | -2/+2 |
| | | ||||
| * | Small refactor | Matthew Landauer | 2013-01-17 | -6/+1 |
| | | ||||
| * | Refactor using I18.with_locale | Matthew Landauer | 2013-01-17 | -4/+3 |
| | | ||||
| * | Set locale with I18n rather than through globalize | Matthew Landauer | 2013-01-17 | -26/+26 |
| | | ||||
| * | Small refactoring in PublicBody.self.find_by_url_name_with_historic just use ↵ | Matthew Landauer | 2013-01-16 | -22/+19 |
| | | | | | | | | the current locale | |||
| * | Set locale in controller test by passing parameter in get | Matthew Landauer | 2013-01-16 | -11/+7 |
| | | | | | | | | Also using I18n.locale to pass the current locale around. | |||
| * | bundle update fast_gettext gettext_i18n_rails gettext locale routing-filter | Matthew Landauer | 2013-01-16 | -1/+1 |
| | | ||||
| * | Remove version restrictions on gems related to i18n | Matthew Landauer | 2013-01-16 | -10/+10 |
| | | ||||
| * | bundle update fast_gettext gettext_i18n_rails gettext locale routing-filter | Matthew Landauer | 2013-01-16 | -5/+7 |
| | | ||||
| * | Moved all gems related to i18n into one place in Gemfile | Matthew Landauer | 2013-01-16 | -5/+8 |
| | | ||||
* | | Convert query to more activerecord 3 form | Matthew Landauer | 2013-01-31 | -4/+2 |
| | | ||||
* | | Convert query to more activerecord 3 form | Matthew Landauer | 2013-01-30 | -4/+2 |
| | | ||||
* | | Convert query to more activerecord 3 form | Matthew Landauer | 2013-01-30 | -7/+5 |
| | | ||||
* | | Convert query to more activerecord 3 form | Matthew Landauer | 2013-01-30 | -2/+6 |
| | | ||||
* | | Convert query to more activerecord 3 form | Matthew Landauer | 2013-01-30 | -3/+7 |
| | | ||||
* | | Updated test to correctly test what it was testing | Matthew Landauer | 2013-01-30 | -2/+1 |
| | | ||||
* | | If now query is supplied get all the requests | Matthew Landauer | 2013-01-30 | -4/+10 |
| | | ||||
* | | Find is now being called with an integer rather than a string. All good | Matthew Landauer | 2013-01-30 | -1/+1 |
| | | ||||
* | | Objects need to be strings before they can be cast with to_str | Matthew Landauer | 2013-01-30 | -2/+2 |
| | | ||||
* | | Add dynamic_form gem as error messages helper for forms has moved there | Matthew Landauer | 2013-01-30 | -0/+3 |
| | | ||||
* | | mail from_addrs now doesn't return the name | Matthew Landauer | 2013-01-29 | -1/+1 |
| | | ||||
* | | errors returns an array now | Matthew Landauer | 2013-01-29 | -1/+1 |
| | | ||||
* | | params_from doesn't exist anymore | Matthew Landauer | 2013-01-29 | -2/+2 |
| | | ||||
* | | When matching mail.body with regex cast to string first | Matthew Landauer | 2013-01-29 | -3/+3 |
| | | ||||
* | | Replace use of response.should send_email with checking ↵ | Matthew Landauer | 2013-01-29 | -4/+4 |
| | | | | | | | | ActionMailer::Base.deliveries | |||
* | | Clear out ActionMailer::Base.deliveries before each test. Rspec should be ↵ | Matthew Landauer | 2013-01-29 | -33/+7 |
| | | | | | | | | doing this but isn't for controller tests | |||
* | | render_for_text doesn't exist anymore. Replace with render :text | Matthew Landauer | 2013-01-29 | -3/+2 |
| | |