0
votes
0answers
4 views

Rails Installing debugger (1.5.0) throws error

I'm trying to execute 'bundle install' for a Rails project. but I got struck on Installing debugger (1.5.0) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension . ...
0
votes
0answers
7 views

Integrate Sinatra in Rails: Use sessions only in Sinatra

I want to integrate a Sinatra admin application in my Rails project. I created a file admin_app.rb in RAILS_ROOT/lib which looks like this: class AdminApp < Sinatra::Base enable :sessions ...
0
votes
0answers
7 views

Ruby On Rails AdwordsApi

So I am trying to do few things with google AdWords Api I am trying to get all my keywords from an AdGroup, I am able to access them but I don't know how to display them in the view. Using this code ...
0
votes
1answer
26 views

Insert data in migration if it does not exist

I have the following migration: Sequel.migration do up do create_table :user_settings do primary_key :id String :signature, null: true, text: true end alter_table ...
0
votes
0answers
27 views

Heroku Ruby on Rails App failing after recent push

I tried to push an update to my heroku app from github. I added some text and updated my gem file as follows: source 'https://rubygems.org' ruby "1.9.3" gem 'rails', '3.2.13' gem 'jquery-rails' [...] ...
0
votes
1answer
30 views

How to add a new column correctly within a rails application without relying on migrations?

Lets say user Bob wants to keep track of his meals calories every day, which are currently breakfast, lunch, dinner, and a snack. So I make a table within rails containing four columns (breakfast, ...
0
votes
0answers
10 views

How to enable Cross Origin Resource Sharing in Rails application?

I have developed a Rails Application which servers as a back-end for mobile devices.Now i am trying to access my Rails Resource through Web Application.I tried creating an sample web application ,but ...
0
votes
0answers
15 views

ROR Heroku push error Bundler could not find compatible versions for gem “hashie”:

Getting this error while pushing code on heroku. IS there anyone who can solve my problem. Resolving dependencies... ..Bundler could not find compatible versions for gem "hashie": In ...
0
votes
3answers
29 views

Ruby Regex for 1 or two Digit Match with Elsif

I'm trying to use the following regexp in ruby <% elsif entry.name=~(/^[0-9][0-9]/) %> to check the entry.name string for a 1 or more digit number. I can't seem to get the syntax right. For ...
0
votes
0answers
18 views

Not sending recovery password in ruby on rails

I'm doing a rails application and I'm trying to send an email to the user for recovering their password. I'm using the "devise" library and I cant understand why my application is not sending the ...
0
votes
0answers
7 views

How to combine combine 2 checkout steps spree rails?

I'm new to spree. I have removed delivery step in my spree2.0.0 application. I want to render its view in "_payment.html.erb" do you know how to do this? Thanks.
0
votes
0answers
10 views

Carousel Next with a Back to Top Feature

I have added Bootstrap Carousel and a Back to Top Button to my rails app. Everything works perfect. Is there anyway in which I can combine Bootstraps Carousel's Next Button with my Back to Top ...
0
votes
1answer
18 views

assets:precompile doesn't seem to work, locally or not

When pushing a Rails 3.2.11 app to heroku, running rake assets:precompile or RAILS_ENV=production rake assets:precompile doesn't seem to make assets available - it doesn't matter if I run this rake ...
-1
votes
1answer
25 views

Error Running Ruby on Rails App in Production Mode

I'm just starting to use Ruby on Rails and I am going through a tutorial to get started. I have everything working for testing, so I can use a rails server command in the directory to make it show the ...
0
votes
2answers
27 views

Parse JSON with Ruby

I have two JSON returns. One I am able to parse fine {"login"=>"foo", "id"=>bar, with @foobar_collect["login"] But one I am having issues with {"items"=>[{"user_id"=>foo, ...

1 2 3 4 5 2263
15 30 50 per page