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 271925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:14:22+00:00 2026-05-12T00:14:22+00:00

The ActiveScaffold list view has a search form that is loaded via ajax when

  • 0

The ActiveScaffold list view has a search form that is loaded via ajax when a user click the search link. I’d prefer to have the form show by default when a user opens a list page.

I’ve figured out a way to trigger the ajax call when the page loads, but I’m wondering if there’s a way to get ActiveScaffold to render the form automatically. Is there a template or a method I can override? I’ve had a look through the code but there’s nothing obvious, at least to me.

Update:

srboisvert’s answer inspired me to have a better look.

The trick is to use Template overrides to refactor the following: list.rhtml, _list_header.rhtml, _search.rhtml so that the search form partial renders inline.

  • 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-12T00:14:22+00:00Added an answer on May 12, 2026 at 12:14 am

    There is a way to get it rendered automatically:

    active_scaffold :model do |config|
    config.list.always_show_search = true
    end

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

Sidebar

Related Questions

My Normal search in the activescaffold list page is not working. I have ListLocations
I currently have a generic list that is generated by ActiveScaffold. At the end
I have a Rails app that uses activescaffold and I would like to hide
With ActiveScaffold I have a group on my create form: config.create.columns.add_subgroup Customer do |customer_group|
I have a very simple admin controller in my Rails 2 app that displays
I'm switching to Typus because I prefer its UI over ActiveScaffold and I love
I would like to call @records.collect{|r| r.set_some_virtual_attribute(@context)} before rendering an activescaffold index view, but
I have several models with fields that are integers. I also have hashes that
Say I have Course that has_many Students . I also have def top_student in
I have friendly_id and ActiveScaffold installed for my Rails application. Because not all of

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.