Thanks, TF
On Dec 25, 7:47 pm, GamaFranco <[email protected]> wrote:
> Hello,
>
> In order to add members to the project the user.rb needs to be
> updated. Complete the belongs_to relations with :accessible => true.
>
> I.e.
> belongs_to :championship, :accessible => true
> belongs_to :user, :accessible => true
>
> TF
>
> On Dec 18, 8:02 pm, GG <[email protected]> wrote:
>
>
>
> > Thank you for this.
>
> > On Dec 18, 2008, at 1:51 PM, Owen <[email protected]> wrote:
>
> > > I thought I had hit a bug in Hobo. Thanks to James for tracking this
> > > down!
>
> > > There's no bug in Hobo after all, it's just that the user model in the
> > > agility tutorial is slightly out of date.
>
> > > Change these lines in app/models/user.rb:
>
> > > fields do
> > > username :string, :login => true, :name => true
> > > email_address :email_address
> > > ...
>
> > > to
>
> > > fields do
> > > name :string, :unique
> > > email_address :email_address, :unique, :login => true
>
> > > and all is good.
>
> > > You need to delete the db and migrations and re-run the migration
> > > generator, or make these changes before
> > > running the generator in the first place.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---