Ruby on Rails is an open-source web development framework written in Ruby. Ruby on Rails follows the principle of convention over configuration, freeing you from having to re-invent things to stay productive. Ruby on Rails 4.0 is the latest edge version available.

learn more… | top users | synonyms (3)

5
votes
0answers
324 views

Authentication with AngularJs and Devise Rails, Do I need token system?

I am creating an application based on Rails and AngularJS. I would like to implement an authentication system by using gem Devise. I am wondering how to do it. I read some articles about attribute ...
5
votes
0answers
652 views

god doesn't stop unicorn

I have this file rails_env = ENV['RAILS_ENV'] || 'development' rails_root = ENV['RAILS_ROOT'] || "/home/luiz/rails_dev/api" God.watch do |w| w.name = "unicorn" w.interval = 30.seconds # default ...
5
votes
0answers
272 views

Rails i18n: changing de.errors.format:“%{attribute} %{message}” has no effect

We use some self written validations for our applications. These dont use one of the already translated ones like 'empty' or 'invalid'. They are formated by the default way "%{attribute} %{message}" ...
4
votes
0answers
64 views

simple_cov: how to include tests of engine to the report?

Our rails application is using an engine and build upon customer projects. The engine itself is not executable as a standalone program. Using simple_cov works just fine for the customer projects. ...
4
votes
0answers
236 views

Soundmanager-rails won't play sound with flash

I am using soundmanager-rails gem in my rails app. I use it to stream radio from stream. While HTML5 audio works fine with mp3, flash won't play a sound. I've tried Firefox, Safari and Chrome and in ...
4
votes
0answers
384 views

undefined method 'path' for nil:NilClass using chargify_api_ares gem

I feel like this should be a simple problem, but I'm pulling my hair out trying to track it down. I'm installed the chargify_api_ares gem, but can't do even basic things such as ...
3
votes
0answers
27 views

Using two twitter applications with Oauth so I can have two separate callbacks

My rails application needs to use Twitter Oauth twice for two different purposes. The first is the typical user sign in. The second is for adding accounts so that tweets can be scheduled in advance. ...
3
votes
0answers
114 views

RefineryCMS Custom Layout Template works in host app but not with engine

So I followed the refinery guide to create a custom layout template. I switched my about page to use my new template in the advanced options and it worked like a charm. Then I created a new engine ...
3
votes
0answers
461 views

Unexpected error while processing request: invalid byte sequence in UTF-8

I am getting this error when trying to pass in an image: !! Unexpected error while processing request: invalid byte sequence in UTF-8 The weird thing is that the raise (as below) did not get ...
3
votes
0answers
131 views

Stack trace from javascript error from therubyracer / v8 in rails 3

I am running some javascript inside a rails 3 app using therubyracer and v8 If anything goes wrong, the error message gets sent to me via email through the usual rails 3 exception notification ...
3
votes
0answers
109 views

Capybara-Webkit close webkit_server

I am using Capybara-Webkit to automate some work on a website. This is done in the background in a Resque task. After some executions there are quiet a lot webkit_server processes, that weren't closed ...
3
votes
0answers
130 views

Creating children objects of not saved model in Backbone using Backbone-relational

I'm new to backbone. I have rails3 app. These are my backbone models: class AppName.Models.Order extends Backbone.RelationalModel paramRoot: 'order' relations: [ type: Backbone.HasMany ...
3
votes
0answers
138 views

omniauth (google_apps) Request phase initiated. blocking my app

I just implement Omniauth+Devise to signin using Google Apps, but when doing the request and the "Request phase initiated" my app get blocked, i tried a request in another window and it didnt execute ...
3
votes
0answers
166 views

Using oink on Heroku by creating Hodel 3000 compliant logs

I am having a memory leak and am trying to track it down, therefore im trying to use oink on Heroku servers. Since Heroku does not provide log archives, im exporting them to Amazon S3 through the ...
3
votes
0answers
287 views

Devise + OmniAuth NoMethodError UndefinedMethod Username

I'm following through Railscast #235 "Devise + OmniAuth Revised" and have run into a NoMethodError for Username whenever I try to authenticate using Twitter. I'm running Rails 3.2. Specifically, it ...

1 2 3 4 5 695
15 30 50 per page