[Rails] Re: [Bangalore RUG] Rails Internationalization problem while submitting the form.

2012-03-27 Thread deepak kannan
Take a look at http://guides.rubyonrails.org/i18n.html#setting-the-locale-from-the-client-supplied-information On changing the language, store in session-store and set the locale from the session store thereafter Also store the locale in the users table. use this in case the session is refreshed

[Rails] Fetch Facebook fanpage in rails

2012-02-28 Thread sathish kannan
Hi, I am newbie to rails , I need access facebook page information like wall, subscription,picture etc. I have apps in rails 3, it has list of artist users he upload songs, videos within my application, when the public (No Need to Login) can hear the list of songs,videos. i decide to fetch

[Rails] Need Suggestion "Is it possible"

2012-02-27 Thread sathish kannan
Hi, I am newbie to rails , I need some clarification of ("Without Access Token" )access facebook users information like username,wall, subscription,picture etc. I have apps in rails 3, it has list of artist users he upload songs, videos within my application, when the public (No Need to

[Rails] Need Suggestion: how to Fetch Facebook information using the facebook_id in rails 3.1

2012-02-24 Thread sathish kannan
Hi, I am the Newbie to rails and fb_graph.I have a rails3.1 app with authlogic authentication. all of users can the register with the facebook_id in my app. what i am suppose to do means if any one user can see the others facebook profile using the facebook_id. if there is any possiblity or no

[Rails] append the hash error

2011-10-03 Thread sathish kannan
Hi, i want to capture a obj.errors value into a new hash for example a = Hash.new obj.errors = { :a => "can't be blank" , :b =>"should be alphanumeric" ,:c => "Not in the list"} a << {0 , obj.errors} end it says error like that undefined method `<<' for {}:Hash pls what i miss in this s

[Rails] Rails 3 :- Need for Authentication with devise and cancan backend mysql

2011-08-17 Thread sathish kannan
Hi to all , I am newbie to rails 3 , i want authentication using DEVISE and CANCAN rubygem and backend Mysql tutorial thanks in advance. regards, Sathish.M (9176356856) My Blog: http://sathishinlinux.wordpress.com -- You received this message because you are subscribed to the Google Groups

[Rails] Re: undefined method `eq' for nil:NilClass

2010-09-06 Thread Kannan
Hi, Me too got same error... I attached Full trace here... Kindly suggest on this issue... undefined method `eq' for nil:NilClass activesupport (3.0.0) lib/active_support/whiny_nil.rb:48:in `method_missing' activerecord (3.0.0) lib/active_record/relation/finder_methods.rb: 291:in `find_one' acti

[Rails] RoR with Existing tables in database using Postgresql

2010-09-03 Thread Kannan
Hi, I am new bee to Rais. I need to create a Rails application with existing database with several number of tables. When i came across web, I didn't find any fruitful ideas for developing application using existing tables. Everything i found was to create new database with Create, Edit, Insert fe

[Rails] activerecord-import for multiple tables

2010-04-28 Thread deepak kannan
hi, i wanted to use 'activerecord-import' for bulk import but i have dependent tables. if i insert in one table then two more tables have to be inserted with the foreign key. can i use activerecord-import in this case. the database structure would be like: a product table with a product_details ta