Try config.list.label = "States"

On Wed, May 13, 2009 at 2:52 PM, [email protected] <
[email protected]> wrote:

>
> People,
>
> I'm setting up a new site.
>
> I bumped into a silly problem with config.label.
>
> Here is my controller:
>
> class Asa::DevicetypeStatesController < ApplicationController
>  active_scaffold :devicetype_state do |config|
>    config.label = "States"
>  end
> end
>
> I expect to see the label: "States" at the top of my page.
>
> Instead I see the label: DevicetypeStates
>
> Here is info about my setup:
>
> Wed May 13 12:48 /pt/c3/rho/rt/rt11 maco$
> Wed May 13 12:48 /pt/c3/rho/rt/rt11 maco$
> Wed May 13 12:48 /pt/c3/rho/rt/rt11 maco$
> Wed May 13 12:48 /pt/c3/rho/rt/rt11 maco$ script/about
> script/about
> About your application's environment
> Ruby version              1.8.7 (i686-darwin9.6.2)
> RubyGems version          1.3.1
> Rack version              1.0 bundled
> Rails version             2.3.2
> Active Record version     2.3.2
> Action Pack version       2.3.2
> Active Resource version   2.3.2
> Action Mailer version     2.3.2
> Active Support version    2.3.2
> Edge Rails revision       256aed52cb2ad21904e03de304b2948bcf892455
> Application root          /Users/maco/pt/customers3/rho/rhotest/rt11
> Environment               development
> Database adapter          sqlite3
> Database schema version   20090512224736
> Wed May 13 12:48 /pt/c3/rho/rt/rt11 maco$
> Wed May 13 12:48 /pt/c3/rho/rt/rt11 maco$
> Wed May 13 12:48 /pt/c3/rho/rt/rt11 maco$
> Wed May 13 12:48 /pt/c3/rho/rt/rt11 maco$
>
>
>
> Wed May 13 12:49 /pt/c3/rho/rt/rt11/vendor/plugins/active_scaffold maco
> $ head CHANGELOG
> head CHANGELOG
> = 1.2RC1
>
> == FEATURES
>
> - Added view helpers (active_scaffold_javascripts,
> active_scaffold_stylesheets, active_scaffold_ie_stylesheets) to help
> with asset cacheing (Alexander Semyonov)
> - Works with Rails 2.1 (2.0 / 1.2.x will continue to be supported by
> version 1.1)
>
> I'm looking for tips to debug this.
>
> -b
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to