Thanks for the encouragement.

I have a few thoughts on the documentation already from my strange pov
(ie new to hobo, rails and ruby... but not new to sw engineering)...

- given hobo looks like a supercharged version of rails i guess lots
of people come here withour knowing ruby or rails. it would be great
if the hobo docs could point to some key "getting started" resources
for both rails and ruby. you guys must have seen lots of
documentation, so you probably know where the best stuff is. i'm
getting there the slow way ... reading a book on ruby... then  "Rails
2" awaits...

- believe it or not i only realized there *was* a console as a result
of Matt's email reply to my noob question! the console makes a big
difference for debugging, obviously :-) ... a tutorial or screencast
showing use of the console to explore the model etc could help clue
new folks in to what's going on...

- i'd really like to see info about what to do when things *don't*
work in hobo/dryml. for example I have two problems, both apparently
related to dryml tags, and so far i have no clue where to look to
solve either of them...

problem 1: i've got a <table-plus> list working, but when i click on
the column headers it doesn't sort the table - the url gets sort=
added, but the row order stays the same.

problem 2: i've put a lifecycle into my little app, following along
pretty much as in the examples... but when i add the <transition-
buttons> tag, nothing happens - no errors, no buttons.

thanks again
Paul



On 4 Apr, 20:00, Owen Dall <[email protected]> wrote:
> Keep on Truckin',  and let us know how to improve the tutorials....
>
> -Owen
>
>
>
> On Sun, Apr 4, 2010 at 4:08 AM, storitel <[email protected]> wrote:
> > hi Matt,
> > thanks for your help - you were right, the Job was being created
> > without a name, and i'd set :name :required.
>
> > i'm not just new to hobo... new to rails and ruby too so lots to
> > learn :-)
>
> > On Apr 3, 5:50 pm, Matt Jones <[email protected]> wrote:
> > > On Apr 3, 2010, at 4:52 AM, storitel wrote:
>
> > > > hi guys,
> > > > been fiddling with hobo for a few days, working through tutorials and
> > > > loving how quick it is to get the bones of an app together...
>
> > > > then BAM!  I hit an Exception and can't figure out where to look to
> > > > identify what got broken! :(
>
> > > > I'm working on a simple app to assign engineers to projects... the
> > > > models are equivalent to the Recipe/Category relationship in the Rapid
> > > > Rails With Hobo book...
>
> > > > engineer...
> > > >  has_many :projects, :through => :jobs
> > > >  has_many :jobs, :dependent => :destroy
>
> > > > job...
> > > >  belongs_to :project
> > > >  belongs_to :engineer
>
> > > > project
> > > >  has_many :engineers, :through => :jobs, :accessible => true
> > > >  has_many :jobs
>
> > > > So on the edit page for a project I have an <Add Engineer> dropdown.
> > > > When i use it, the engineer gets added to the page OK, but when I hit
> > > > Save ... i get the exception...
>
> > > > ActiveRecord::RecordInvalid in ProjectsController#update
>
> > > > Validation failed: Name can't be blank
>
> > > > As far as I can see the project name, engineer name and job name are
> > > > not blank. Any guidance on where to look to track down this bug or how
> > > > to read the traces in general would be much appreciated
>
> > > Well, posting the trace will help. :)
>
> > > Posting the DRYML for the form will be handy as well; my guess is that
> > > you've got a setup where somehow a Job is being created that doesn't
> > > pass validation (if you set up a Project and an Engineer in the
> > > console, does:
>
> > > project.engineers << engineer
>
> > > work?)
>
> > > Hope this helps!
>
> > > --Matt Jones
>
> > --
> > 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.
>
> --
> Thanks,
> - Owen

-- 
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