If you take a look at where the stack trace is indicating the error is at
app/helpers/people_helper.rb:12:in 'image_link'
the line of code is
image_options = { :title => h(person.name), :alt => h(person.name) }
The error that's reported is
The error occurred while evaluating nil.name
It looks like "person" isn't getting set to an actual object.
It's hard to tell what exactly is going on with just that one error
message.
Could you give a bit more information:
- What install steps did you perform?
- Did you run 'rake db:sample_data:reload' to populate the database?
- Are you able to successfully see the list of people (People tab... you
don't need to be signed in)?
Long
On Fri, Aug 22, 2008 at 4:49 AM, Hinch <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> When logging in as admin (or any other user I presume with a new
> message) this message is returned:
>
> <img src="http://i36.tinypic.com/11gqflv.png" alt=" " />
>
> I'm new to RoR but experienced with PHP. Is this a known issue? I have
> done a search
>
> I'm using MySQL.
> >
>
--
Long Nguyen
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/
You received this message because you are subscribed to the Google
Groups "Insoshi" 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/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---