On 24 February 2012 04:10, gmspro gmspro <li...@ruby-forum.com> wrote:
> John H. wrote in post #1048579:
>> This is an issue at the model / db layer. To help, we'd need the model
>> code
>> and the contents of params[:data]
>
> I have added the model relation, and this is the params[:data]
>
> "data"=>{"title"=>"Linux Developers In High Demand: Report",
> "content"=>"The Linux Foundation and Dice have released a report titled
> 'Linux Jobs Report' which shows the increasing demand for Linux talent
> across industries. The report includes responses from more than 2,000
> hiring managers at corporations, Small and Medium Businesses (SMBs),
> government organizations, and staffing agencies from across the globe.",
> "tags"=>"linux dev"}, "commit"=>"Add Post"}

I can't see where you have added the model code.  Do you have post
has_many tags, or has_and_belongs_to_many tags?  If so then the
problem may be that you are passing a string for tags instead of an
array.  Just a guess as you have not shown us the model relationships.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to