[Rails] 401 Unauthorized Issue

2013-10-08 Thread Rosy Catz
I integrated the my rails 2.x app with twitter. Im getting 401 issue after integrated the app with twitter. Can anyone say me what i missed?. -- 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 u

[Rails] Re: 301 "Moved Permanently" for oauth with rails 2

2013-10-08 Thread Rosy Catz
Rosy Catz wrote in post #1123835: > Hi, > >Im using rails 2.3.11 with ruby 1.8.7. My oauth version is 0.4. Im > getting Error '301 "Moved Permanently"' while calling get_request_token > method. Solved this issue. I changed http://twiiter.com into http:

[Rails] 301 "Moved Permanently" for oauth with rails 2

2013-10-08 Thread Rosy Catz
Hi, Im using rails 2.3.11 with ruby 1.8.7. My oauth version is 0.4. Im getting Error '301 "Moved Permanently"' while calling get_request_token method. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Tal

[Rails] Re: Omni_auth with Facebook

2013-10-07 Thread Rosy Catz
ert Walker wrote in post #1123794: > Rosy Catz wrote in post #1123747: >> Hi, >> >> I've implemented the sample app with omni_auth('0.2.6'). I'm using >> rails 2.3.11 with ruby 1.8.7. I tried to connect with Facebook but >> getting oauth error. I te

[Rails] Omni_auth with Facebook

2013-10-07 Thread Rosy Catz
Hi, I've implemented the sample app with omni_auth('0.2.6'). I'm using rails 2.3.11 with ruby 1.8.7. I tried to connect with Facebook but getting oauth error. I tested it with twitter & google plus account. Both are working fine but the FB connects is not working yet. Can you please help me out?

[Rails] Re: Two ruby processes are running for one Rails app

2013-09-23 Thread Rosy Catz
Frederick Cheung wrote in post #1122155: > On Monday, September 23, 2013 1:12:00 PM UTC+1, Ruby-Forum.com User > wrote: >> It depends how you are running your app, but passenger for example has a > separate spawner process responsible for starting new application > instances. > > Fred > > PS: your

[Rails] Two ruby processes are running for one Rails app

2013-09-23 Thread Rosy Catz
Hi, I'm using ruby 1.8.7 with rails app(2.3.11) and deployed the app with apache server. My app performance is too slow so i configured the app with new relic and could see the ruby has 2 instances. One is for ruby(nobody) =201 MB and one more for ruby(root)= 73.9 MB. I killed the processes but

[Rails] Re: Multiple Instances of Server?

2013-09-23 Thread Rosy Catz
Hi, I'm using ruby 1.8.7 with rails app(2.3.11) and deployed the app with apache server. My app performance is too slow so i configured the app with new relic and could see the ruby has 2 instances. One is for ruby(nobody) =201 MB and one more for ruby(root)= 73.9 MB. I killed the processes but

Re: [Rails] How to create a 'suggestion' app.???

2010-07-26 Thread catz
Every answer for the question should have their own score. Map the total score to the specific board. That's it. It's something like dummy tests in the newspapers. 70-100 ~> Board 1 40-70 ~> Board 2 0-40 ~> Board 3 > > -- You received this message because you are subscribed to the Google Groups

Re: [Rails] tutorials for virtual rails

2010-07-26 Thread catz
probably it might be interesting for you http://techiferous.com/2010/07/roadmap-for-learning-rails/ Roman > -- 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-t...@googlegroups.com. To unsu

Re: [Rails] Haml ... ending a line with a | (vertical bar)

2010-07-09 Thread catz
%p = link_to 'x' | = link_to 'y' it will be on the same line -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rub

Re: [Rails] How to create thumbnail

2010-07-08 Thread catz
Just try paperclip, very simple solution for it. -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsub

Re: [Rails] Paperclip/ImageMagick issue

2010-06-08 Thread catz
Paperclip.options[:image_magick_path] = "/opt/local/bin" Paperclip.options[:command_path] = "/opt/local/bin" add something like these two commands to paperclip.rb in initializers folder just point to right identify command path On 6/8/10, Philip Hallstrom wrote: > Is JPG support compiled into

Re: [Rails] Re: Problem with saving object (on heroku hosting)

2010-06-08 Thread catz
n't appear locally. That is :contact added like a method. I guess it is difference in prod and dev modes? On 6/8/10, catz wrote: > Definitely not. The project is the same. I'm just git push it. o.k > i'll dig into prod vs dev mode and try to see the difference. Anyway > than

Re: [Rails] Re: Problem with saving object (on heroku hosting)

2010-06-08 Thread catz
Definitely not. The project is the same. I'm just git push it. o.k i'll dig into prod vs dev mode and try to see the difference. Anyway thanks a lot for your attention. On 6/8/10, Frederick Cheung wrote: > > > On Jun 8, 1:37 pm, Roman Catz wrote: > >> >> Ther

[Rails] Re: Problem with saving object (on heroku hosting)

2010-06-08 Thread Roman Catz
Here is some additional notes: If anybody know please explain: class Contact < ActiveRecord::Base belongs_to :user belongs_to :contact_type, :class_name => "ContactType", :foreign_key => "contact_type_id" has_many :request_contacts, :dependent => :destroy has_many :requests, :through => :

[Rails] Re: Problem with saving object (on heroku hosting)

2010-06-08 Thread Roman Catz
!map:ActiveSupport::OrderedHash number: - !ruby/object:ActiveRecord::Error attribute: :number base: *id002 message: can't be blank options: {} type: :blank new_record: true user: On Jun 8,

[Rails] Re: [Rails Heroku] Problem with saving object (on heroku hosting)

2010-06-08 Thread Roman Catz
Thanks Frederick, but I still do not understand what's going on here. I changed this line to belongs_to :contact_type .. The result is the same. Controller was generated as standart scaffold. def create @contact = Contact.new(params[:contact].merge(:user => current_user)) respond_to do |forma

[Rails] [Rails Heroku] Problem with saving object (on heroku hosting)

2010-06-08 Thread Roman Catz
Hi All, I have some strange problem which appears only on heroku hosting 2.3.5 default stack (not on my local computer) I have some models. Here they are: class Contact < ActiveRecord::Base belongs_to :user belongs_to :type, :class_name => "ContactType", :foreign_key => "type_id" validates