James B. Byrne
Not a member
James B. Byrne's latest activity
Monday, January 31 2011
-
James B. Byrne commented at 6:09 PMAm I to understand then that if one uses BDD and develops a view requiring use of the string 'number' without previously providing a translation for it then the...
Wednesday, December 22 2010
-
James B. Byrne commented at 4:35 PMImportant condition:
This error only occurs if there is no entry in the translation file. If 'number' is not a key in config/locales/default/en.yml then the err...
-
James B. Byrne created the ticket at 4:27 PMIn ActionView html.erb templates
I18n.t( 'number' ).strip raises
undefined method
strip' for #<Hash:0x2b946fb1ddc8>As does:
I18n.t( "number" ).strip
And:
I18n....
Friday, December 17 2010
Tuesday, November 30 2010
-
James B. Byrne commented at 9:57 PMI generated a new rails-3.0.3 project and added the suspect routes only. The problem is instantly reproducible:
$ rails c Loading development environment (Rail...
-
James B. Byrne commented at 4:06 PMThen is there a case for the render method to return a specific ArgumentError message in the event it receives a symbol rather than a string as the value for th...
Monday, November 29 2010
-
James B. Byrne commented at 8:30 PMI think that that appraisal rather misses the point. The issue is one of 'least surprise'. Is there a strong technical reason why symbols should not be allowed ...
-
James B. Byrne created the ticket at 5:03 PMrender :template => 'index' Works
render :template => :index does not and gives this error:
private method `sub!' called for :index:Symbol (NoMethodError)S...
Friday, November 26 2010
-
James B. Byrne commented at 4:37 PMI should point out that this behaviour is exhibited after I did the following simplifications:
- The entire route.rb file looks like this:
Proforma::Applicatio... -
James B. Byrne commented at 4:19 PMI have done a little more investigation and I do not think that I can get things much simpler than this:
Routes as given above.
3.0.3 behaviour ( same as 3.0.2 ...