Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 483675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T01:13:19+00:00 2026-05-13T01:13:19+00:00

I have a model ‘Asset’ and, on the show page, I have this: {

  • 0

I have a model ‘Asset’ and, on the show page, I have this:

{ :controller ‘looks’, :action => ‘whatever’ } %>

The ‘looks’ controller and ‘whatever’ action both exist.

Now when I go the the show page for the second Asset and click the test link I get this error:

Processing AssetsController#2 (for 127.0.0.1 at 2009-12-03 17:09:57) [POST]
Parameters: {“authenticity_token”=>”aLGRq+ZVulWbwC09m1dy7Mj9b9AgSJqkwiS99SLk6uk=”}
User Load (0.6ms) SELECT * FROM “users” WHERE (“users”.”id” = ‘1’) LIMIT 1

ActionController::UnknownAction (No action responded to 2. Actions: create, destroy, index, new, receive, and show):
/usr/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/compass/app_integration/rails/action_controller.rb:7:in process'
haml (2.3.0) lib/sass/plugin/rack.rb:44:in
call’
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in
run’
/usr/lib/ruby/1.8/webrick/server.rb:173:in start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in
start’
/usr/lib/ruby/1.8/webrick/server.rb:162:in start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in
start’
/usr/lib/ruby/1.8/webrick/server.rb:92:in each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in
start’
/usr/lib/ruby/1.8/webrick/server.rb:23:in start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in
start’

Rendering rescues/layout (not_found)

So apparently it’s directing me to an action that’s named whatever asset_id whose show I came from. If it helps, I’m using the authlogic and compass gems. I’d appreciate any help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T01:13:19+00:00Added an answer on May 13, 2026 at 1:13 am

    Is that the exact code from your app? For starters, you are missing a => between :controller and ‘looks’.

    try

    { :controller => ‘looks’, :action => ‘whatever’ } %>

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have model that looks like this: public class Lesson { public int Id
I have model that looks like this: class Category(models.Model): parentCategory = models.ForeignKey('self', blank=True, null=True,
I have model like this: scope :search_posts, lambda { |query| mega_posts.where( title LIKE ?
In my controller I have model operations that can return empty results. I've setup
I have model in a view like this @model List<Products> I can itereate over
I have model with a Foreign Key to itself like this: class Concept(models.Model): name
I have model like this: class Kaart(models.Model): name = models.CharField(max_length=200, verbose_name=Kaardi peakiri, help_text=Sisesta kaardi
I have Model class Account: and other model called class Transactions: Now i have
Let's say I have model like this (all irrelevant fields removed for clarity): A(Model):
I have model show which has_many performances and a performance has a certain location.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.