Displaying 10 results from an estimated 10 matches for "svenfuch".
Did you mean:
svenfuchs
2007 Dec 02
5
walkthrough: Rails 2.0 startup process
...code and
compiled the following guide from them.
http://www.artweb-design.de/2007/12/2/the-rails-startup-process-a-paragliders-perspective
By now I guess I''ve gotten a little snow-blind ... any feedback,
corrections or additions would be highly appreciated!
Thanks!
--
sven fuchs svenfuchs-dUK+l/LC/MTXf2hzA9GHkA@public.gmane.org
artweb design http://www.artweb-design.de
grünberger 65 + 49 (0) 30 - 47 98 69 96 (phone)
d-10245 berlin + 49 (0) 171 - 35 20 38 4 (mobile)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to t...
2012 Oct 19
1
Globalize3 gem, upload data from CSV
Rails 3.1.3
Globalize3 latest
I am not sure if I can ask this question here in general Rails forum.
But I''ll try.
Currently I am using a gem, Globalize3, which is useful for model I18n.
https://github.com/svenfuchs/globalize3
Say, I have a model City, having only one column, name.
City names appear differently depending on the language, so perhaps this
particular gem is useful.
RailsCast is nice
http://railscasts.com/episodes/338-globalize3?view=comments
My app has already many city names in ENGLISH and n...
2010 Mar 26
5
"invalid byte sequence in US-ASCII" on i18n form
...equence in US-ASCII" when using i18n on
Rails 3.0.0beta with Ruby 1.9.1. I''ve searched extensively on Google and the
problem seems to happen with 2.3.x versions as well (when using Ruby 1.9.1).
I just set the default language to portuguese and added this locale file:
http://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/pt-BR.yml.
Then, when I use a scaffold-generated form with validation and the
validation fails, the line of f.error_messages raises this ArgumentError of
invalid byte sequence. Does anybody knows what is happening? Is this a Rails
bug? (To reproduce the error, j...
2008 May 26
7
Mocking Models in Controller Specs...
I find myself doing this kind of thing a lot in Controller Specs:
@vacancy = mock_model(Vacancy)
@vacancy.stub!(:reference)
@vacancy.stub!(:title)
@vacancy.stub!(:created_at)
@vacancy.stub!(:updated_at)
@vacancy.stub!(:body)
@vacancy.stub!(:contract)
@vacancy.stub!(:location)
@vacancy.stub!(:salary)
@vacancy.stub!(:benefits)
2011 Jul 14
0
Validation error message header not translated (activerecord.errors.template.header seems to be ignored in YAML localization file)
Hello, i am not sure where to report this, i have created an issue at
https://github.com/svenfuchs/rails-i18n/issues/118
It seems that activerecord.errors.template.header is ignored in YAML
localization file.
Changing or translating it has no effect on the rendered header for
validation errors.
Thank you for any comments,
Alexey.
--
You received this message because you are subscribed to...
2008 Dec 14
0
Newbee met problems when do some i18n on rails
1. I have download the zh-CN.yml file from http://github.com/svenfuchs/rails-i18n/tree/master/rails
locale
2. I have put this zh-CN.yml in to my locales folder.
3. I have modified the enviorment.rb like follow:
config.i18n.load_path << Dir[File.join(RAILS_ROOT, ''my'', ''locales'', ''*.
{rb,yml}'')]
config.i18n.de...
2012 Dec 18
0
problem with globalize3 : undefined method `create_translation_table!'
Hello,
I have the problem posted at this address :
https://github.com/svenfuchs/globalize3/issues/172.
I created a new project with a new model and I integrated globalize3. I
created a migration like this :
class CreatePages < ActiveRecord::Migration
def up
create_table :pages do |t|
t.timestamps
end
Page.create_translat...
2007 Feb 23
2
Deferred success for specs?
I''ve started using specs as a to-do list. I write explicitly
violated specs so I know what to come back to. But a lot of the
time, that means if I start to work on another piece of functionality
covered by the same spec, it''s hard to tell what I''m working on now
from the explicit failues.
I run all my specs through TextMate to use the HTML output, so I go
by
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am
getting:
''
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails 2.2.2 application starting on http://0.0.0.0:3003
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3003
** Starting Rails with development environment...
2010 Apr 26
11
Rails I18n
I was just wondering about locales and .yml files. Is it better to
store the multilanguage strings in .yml files than in databases? And
if yes, why?
I was also wondering how rails are loading this files (for example, I
have 4 languages in my web app, each has her own .yml file, will my
rails app loads all the files in ram and then it will call each
variable inside my web app? Or something else?)