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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T19:44:50+00:00 2026-06-01T19:44:50+00:00

i have a strange rails 3.2 problem. when i submit a form like this:

  • 0

i have a strange rails 3.2 problem. when i submit a form like this:

<%= form_for @job, :url => job_preview_path do |f| %>
<dl>
  <dt><%= f.label :job_title, "Job Titel" %></dt>
  <dd><%= f.text_field :job_title %></dd>
  <dt>Checkbox please!</dt>
  <dd><%= f.check_box :extra_featured %> </dd>
</dl>
<%= f.submit "Submit" %></p>
<% end %>

where the action route is defined as

match 'job/preview' => 'jobs#preview', :as => :job_preview, :via => :post

the values of the POST params stay empty after submit except for the check_box value. In the action in my controller after the submit, I reassigned the params to the model, so I can reuse the params for saving the entry.

def preview
  @job = Job.new(params[:job])
end

any advice on this strange behaviour? am i blind and don’t see the bug?

  • 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-06-01T19:44:51+00:00Added an answer on June 1, 2026 at 7:44 pm

    Are you on Rails 3.2.3? One of the changes of Rails 3.2.3 to Active Record is that “Whitelist all attribute assignment by default.” See [ANN] Rails 3.2.3 has been released!

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

Sidebar

Related Questions

This is a very strange problem. I've got a rails app in which I
I have a strange behavior of Rails 3.0.10. Got this application controller: app/controllers/application_controller.rb require
I have an index.js.erb file in Rails 3.0.10 which is like this: $('.loading').hide() if
I have a strange problem in rails. Whenever I create a new record via
I have this strange error in one of my rails 2.3.2 application. NoMethodError in
I have a strange problem in rails: When I type a command in cmd
I have a really strange behavior with highchart (via rails plugin): The graph display
I'm currently writing a Rails app, and hit a somewhat strange quirk. I have
i have strange problem doing reporting: i have numerous clients with different issued invoices.
I have strange problem with receiving data from socket. On client im using air

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.