#70 ✓invalid
Dan Croak

nil raising error on _tabbed partial after sign up, fresh app

Reported by Dan Croak | July 3rd, 2009 @ 02:18 PM | in 0.9.7 "Steinitz"

I cloned the repo. I copied the SQLite database yml. I created my development and test databases. I ran the test suite successfully (939 examples, 0 failures).

script/server

Create an account. On submit, I got:

NoMethodError in Home#index

Showing app/views/layouts/_tabbed.html.haml where line [#3](/projects/26360/tickets/3 "Ticket #3") raised:

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each

Extracted source (around line [#3](/projects/26360/tickets/3 "Ticket #3")):

1: #tabs
2:   %ul
3:     - tabs.each do |tab|
4:       %li
5:         = link_to(tab[:text], tab[:url], :class => tab[:active] ? "active" : "")
6: = show_flash

I'll look into a fix now.

Comments and changes to this ticket

  • Dan Croak

    Dan Croak July 3rd, 2009 @ 02:21 PM

    Oh, that's my bad. Didn't get to the rake crm:demo:load task.

  • Mike Dvorkin

    Mike Dvorkin July 3rd, 2009 @ 05:06 PM

    • State changed from “new” to “invalid”

    It's actually $ rake crm:setup that you've missed. From README:

    The next step is to load default Fat Free CRM settings, such as menu structure,
    default colors, etc. This is done by running the following rake task:

    $ rake crm:setup

  • dsfrghs dfs

    dsfrghs dfs September 19th, 2024 @ 12:16 PM

    social interaction is a big part of the B9 Game app. Many games allow for multiplayer modes, where users can play with friends or compete with others around the world. This fosters a sense of community and can help improve communication skills, as players often need to collaborate or strategize together get here. It also brings an element of friendly competition, which can be motivating and exciting.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond

People watching this ticket

Pages