Vadim,

Are you following the tutorials in the new draft of "Rapid Rails 3 with
Hobo", which you can find at:

https://barquin.lighthouseapp.com/projects/63775/tickets/6-latest-updates-to-rapid-rails-3-with-hobo#ticket-6-12

Thanks,

Owen

On Sat, Jan 15, 2011 at 8:53 AM, Vadim Lazuko <[email protected]> wrote:

> Still have no idea why "undefined method `-' for "translation missing:
> ru.date.order":String" happens. Any ideas?
>
> On Jan 14, 10:53 pm, Vadim Lazuko <[email protected]> wrote:
> > Thanks!
> > "hobo g resource" did generate the following:
> >       create  app/controllers/recipes_controller.rb
> >       invoke  test_unit
> >       create    test/functional/recipes_controller_test.rb
> >       create  app/models/recipe.rb
> >       invoke  test_unit
> >       create    test/unit/recipe_test.rb
> >       create    test/fixtures/recipes.yml
> >       insert  app/models/recipe.rb
> >
> > I don't see view generated, maybe I'm missing some idea of the
> > generation, anyway...
> >
> > I then tried to navigate to /recipes/, then /recipes/new to create a
> > new entry and received the following error:
> >
> > "
> > NoMethodError in Recipes#new
> >
> > Showing controller: recipes; dryml-tag: new-page where line # raised:
> >
> > undefined method `-' for "translation missing: ru.date.order":String
> > "
> >
> > I've set up my application to use 'ru' locale by default and this
> > could be the reason. Where and what should I change now?...
> >
> > Thank you all for your help!
> >
> >   Vadim
> >
> > On Jan 12, 6:41 pm, Domizio Demichelis <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Vladim,
> > > rails 3 changed a lot the way generators are used, and hobo 1.3 just
> follows
> > > the convention. In your case you have to use:
> >
> > >    $ hobo g resource ...
> >
> > > ciao
> > > dd
> >
> > > On Wed, Jan 12, 2011 at 11:11 AM, Vadim Lazuko <[email protected]>
> wrote:
> > > > Hello
> >
> > > >  I'm trying to build my first app with hobo and receive the following
> > > > error when generating first model (hobo 1.3.0 pre25 @win32).
> >
> > > > "...
> > > >  $ ./script/generate hobo_model_resource recipe title:string
> > > > description:text created_on:datetime modified_on:datetime
> > > > visible:boolean viewed:integer
> >
> > > > Couldn't find 'hobo_model_resource' generator
> > > > ..."
> >
> > > >  Initially it was even unable to locate 'script/generate' module to
> > > > launch ('script' folder of my app contained only 'rails') and I tried
> > > > to copy the one from `Ruby192\lib\ruby\gems\1.9.1\gems
> > > > \hobo-1.0.2\script\generate`, but now receive the error message
> > > > mentioned above.
> > > >  I've checked and `Ruby192\lib\ruby\gems\1.9.1\gems
> > > > \hobo-1.0.2\rails_generators` contains `hobo_model_resource` folder
> > > > and files there.
> >
> > > >  It seems that something is misconfigured at my installation, but I'm
> > > > unable to figure out what, please help. Thanks.
> >
> > > > --
> > > > You received this message because you are subscribed to the Google
> Groups
> > > > "Hobo Users" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<hobousers%[email protected]>
> <hobousers%2Bunsubscribe@googlegroups .com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/hobousers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<hobousers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>
>


-- 


- Owen

Owen Dall, Chief Systems Architect
Barquin International
www.barquin.com
Cell: 410-991-0811

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to