this is a valid return:
*=> [#<Post id: 3, name: "Neovasolution", description: "This is pune
company", created_at: "2010-07-14 12:17:16", updated_at: "2010-07-14
12:17:16", delta: false>]**
*
for access after try:
*s.each do |sa|*
*  sa.post_desc*
*end*



2010/8/2 Mike Disuza <[email protected]>

> Hi,
> I am tried like this:-
> Still no success
> s=Post.search "pune"
> => [#<Post id: 3, name: "Neovasolution", description: "This is pune
> company", created_at: "2010-07-14 12:17:16", updated_at: "2010-07-14
> 12:17:16", delta: false>]
>
>  >> s.post_desc
> NoMethodError: undefined method `desc' for
> #<ThinkingSphinx::Search:0xb6f1bde4>
>  from
>
> /usr/local/ruby/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.18/lib/thinking_sphinx/search.rb:116:in
> `method_missing'
>  from (irb):2
>
> Thanks,
> Mike
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
att: Luciano Sousa
http://www.lucianosousa.net
*Ruby on Rails Developer
*Linux User #456387
*Contato: (21) 7639-5049

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to