Ruby on Rails version 3.2.0 released at January 20, 2012. Use this tag for issues related to development in Ruby on Rails version 3.2.0.

learn more… | top users | synonyms

0
votes
0answers
5 views

Displaying text content after all the scroll is done

I am using infinite scrolling. After all the scrolling is done then I have to display the text 'End of page'. What issue I am getting is that after I put the text in my code the text is appended ...
0
votes
0answers
4 views

Passenger: Don't know how to build task 'nginx'

I am using Passenger gem in my rails app. I don't know how but its path is changed to ruby2.0.0 from ruby1.9.3. When i restart my nginx server, i get error: Restarting nginx: nginx: [alert] Unable ...
0
votes
0answers
9 views

Restarting nginx: nginx: [alert] Unable to start the Phusion Passenger watchdog because its executable

I am unable to start my server. getting this error: Restarting nginx: nginx: [alert] Unable to start the Phusion Passenger watchdog because its executable ...
0
votes
0answers
15 views

Create an rspec test that validates a JSON response

I am having difficulty to write specs for my program as I need to validate the facebook ID after I filled in all the correct format information. My facebook ID is retrieved from JSON response so I not ...
0
votes
1answer
26 views

ActiveRecord::RecordNotSaved - Rails 3 seeding data

I am using rails 3.2.13 and ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-linux] in CentOS 5.6. When I try to seed the data I got the following error. ** Execute Samp:seed:record_status Creating ...
0
votes
0answers
11 views

How to define rails observers path in application.rb?

I just want to define my all observer in single line now i have code like this config.active_record.observers = :user_observer, :studet_observer, :suggestion_observer, :progress_observer, ...
0
votes
1answer
22 views

has_many through form new method, no id, no elements

I've been hacking around with Rails 3.2.11 for a while, and am trying to do this the 'right' way. I have three models (Reflection, Skill, Utilization) that relate to each other through has_many: ...
0
votes
0answers
9 views

Why is one and only one of my ActionMailer mailers failing to send using DelayedJob

I have a mailer class with four actions. I am using DelayedJob to process all of my mailers in the background. They are all working flawlessly except one. The error I get from my worker is: ...
0
votes
0answers
3 views

Any way for enumeration returned by first to allow find_each

I've got a rails method that returned a relation (from a query or all), or array of first n records, and the caller used #each to iterate. B/c sometimes the set of records is large, the caller should ...
0
votes
0answers
3 views

Kaminari wrong url in the view

I've found similar questions about Kaminari, however none of the answers worked on my machine. Basically, when I'm paginating, the number of pages is correct, but the URL I'm redirected to is wrong. ...
0
votes
0answers
7 views

ruby rails 3.2 rake assets:precompile fails for engine assets

I've created a full engine packaged as a gem that allows me to quickly deploy CSS, images, JS/JQuery items and a working User model that is common to all of my projects. In development mode, it all ...
-2
votes
0answers
15 views

(facebook) Authentication failure! invalid_credentials: OmniAuth::Strategies::OAuth2::CallbackError, OmniAuth::Strategies::OAuth2::CallbackError [on hold]

i am using omniauth-facebook gem for loging into my site using via facebook.I have a link <%= link_to "Facebook", "/auth/facebook", id: "sign_in" %> so when click on this link i get the error ...
2
votes
0answers
45 views

jquery .live with .append() together

I am using infinite scrolling. When using .append() to append the partial for more cases, on clicking the dropdown for appended cases, it doesn't display details... working on it ... Addding .live() ...
0
votes
0answers
5 views

LIKE search in Rails, same value, different columns

I would like to know if there is a better way why to code this rails query value = '%value%' Model.where(['column1 LIKE ? OR column2 LIKE ? OR column3 LIKE ? OR column4 LIKE ?', value, value, ...
0
votes
1answer
13 views

Active record fetching query

I have comments, cases, case steps and tasks table with the relation as: Comments model: belongs_to :commentable, polymorphic: true, counter_cache: true Cases model: has_many :case_steps, ...

1 2 3 4 5 324
15 30 50 per page