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

  • Home
  • SEARCH
  • 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 3723438
In Process

The Archive Base Latest Questions

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

Rails is doing my head in. I’m trying now to put something together to

  • 0

Rails is doing my head in.

I’m trying now to put something together to pull screen scraped data from site X through to client Y via a ruby script on server Z

I don’t want views, I just want the request to look like domain.com/action/method

Inside routes.rb I have:

match ':controller(/:action(/:id(.:format)))'

But it still won’t work. I just get ActionView::MissingTemplate in the log.

Achtung!

If I deliberately put a faulty method in that subsequently calls render – the log file indicates the method executed badly, so I don’t think it’s something wrong with the “action” controller.

Update

Dreamhost’s configuration needed me to specify ‘:layout => false’

  • 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-19T06:16:14+00:00Added an answer on May 19, 2026 at 6:16 am

    So what do you want the app to respond with, if not something from a view? You can manually respond with a string like so:

    def index
      render :text => "Hi from the #{controller_name} controller!"
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Ruby on Rails I'm doing something like: Appointment.find( :first, :conditions => staff_id =
I'm doing maintenance work on a Rails site that's deployed using Phusion Passenger .
I'm doing maintenance work on an existing Rails site and am having some problems
I'm trying to get my head around Rails and ActiveAdmin, and string representations of
I'm trying to do something very simple in my first Rails app (Rails 3)
I'm on railcasts just practicing some rails and have come across something I'm trying
I am trying to create a frameset and I am doing this using Rails.
I've decided to start wrapping my head around Rails 3 by trying to build
Here is a app contorller directory from Rails project doing a self study for
I am doing Rails 3.2.3 and have an issue: I have 2 models Product

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.