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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:41:17+00:00 2026-05-23T02:41:17+00:00

I am using acts_as_commentable. This is how the Model has comments added to it:

  • 0

I am using acts_as_commentable. This is how the Model has comments added to it:

 commentable = Post.create
 commentable.comments.create(:title => "First comment.", :comment => "This is the first comment.")

the gem specifics can be found here:

https://github.com/jackdempsey/acts_as_commentable

In formtastic, I normally would pass the model, and then the input fields….would that still work?

 <%= semantic_form_form 'review' do |form| %>

     <%= form.input :title %>
     <%= form.input :comment %>
 <% end %>

And in the controller….?

  commentable.comments.create(params(:review))

I’m not sure if this would pass the hash that is usable….thanks!

  • 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-23T02:41:17+00:00Added an answer on May 23, 2026 at 2:41 am

    Yes, this should work. Did you try it?

    Just like Rails’ form_for, you can pass in a :remote => true option for remote forms.

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

Sidebar

Related Questions

Following this SO post , I am trying to render indented comments using the
I am using acts_as_commentable and am curious if anyone has any good ideas on
Using C#, I need a class called User that has a username, password, active
I am using acts_as_taggable to create a tag cloud for my application. I have
i have a problem using acts_as_textiled and has_foreign_language plugins together. TextElement my model in
I'm using acts_as_taggable_on in a model, and am trying to implement the auto_complete plugin.
I'm using the acts_as_auditable plugin, and the revisions attribute gives me this chunk of
For example, I'm using Bonus as my model, so I'd expect bonuses to be
Has anyone got EclipseLink MOXy (I'm using eclipselink 2.1.0) to work with Java 5?
Can anyone help explain this? I am using the Populator and Faker gems to

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.