Displaying 1 result from an estimated 1 matches for "aboov".
Did you mean:
aboo
2006 May 12
2
Problem regarding accessing attributes from object...
Hi,
I have an object (@cnt).
Now when I am calling "@cnt.inspect" on object it gives me output as
follows:-
----output----
[#"3"}>]
-----------
Now in aboove output the number between double quotes (3) which is of my
interest & I want to display it. How to do that?
Actually this is my method:-
====================================
class Tagging < ActiveRecord::Base
def self.find_count_of_tag(tag_name)
find_by_sql([
"SELEC...