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.
0
votes
1answer
7 views
Ruby on rails Completed 500 Internal Server Error in xxms
I am new to Ror, and I need some help.
I am developing this RoR project. Everything was working. Then I changed a few pages, which involving adding and removing fields using migration. Changed many ...
0
votes
0answers
5 views
How to avoid Called 'load' without the :safe option — defaulting to safe mode warning?
When i start thin server i get the following
=> Booting Thin
=> Rails 3.2.13 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown ...
0
votes
0answers
10 views
Rails app with SEO keywords in the URLs
I have a non trivial Rails 3.2 app (it has several sections alongside with a shop managed by Spree Commerce). Because of a SEO consultation we received, we need to change the URLs, which now look like ...
0
votes
0answers
17 views
Confused about passing parameters from JavaScript Ajax call back to controller to render a form
Scenario: I click on some objects,table rows,etc on my page and I get their IDs for example I click on Providers list and get provider_id. And then I click on a button on the page:
Now I have a ...
0
votes
0answers
13 views
Rails Devise+Omniauth Facebook redirect to users/sign_up fails
So, im using Rails 4, ominiauth and facebook ominiauth but when i try login always redirect to users/sign_up in devise to create a new user, in my console appear this:
Started GET ...
0
votes
0answers
4 views
User Signup via JSON Best Practices in Rails
To avoid CSRF issues, what are the best practices for allowing users to create an account/signup via JSON. For example, let's say I have another website that I am embedding a form to take a users ...
0
votes
0answers
20 views
Challenge With Updating Nested Attributes With Two Models In My Rails View
I have a Ruby on Rails 3.2.13 application where I have three models related to each other. I have a MediaLibrary model, a Topic model and a MediaTopic model. Here is how the three tables are ...
0
votes
1answer
4 views
How to get variable states in Rails?
This is kind of a general question that I've hit several times. I'm writing validators or something in my model and then I run some tests in rspec and one of my conditionals like this:
validate ...
0
votes
1answer
13 views
Rails Active Admin Coffescript not compiling in production
Rails 3.2 I have a coffee script file which works fine in development. When I push to prod I get this error when I go to the login page:
ActionView::Template::Error (utils.js.coffee isn't ...
0
votes
0answers
15 views
Defining CanCan abilities in engine
I'm trying to write an engine for a rails 3.2 application that uses CanCan for authorization. I'd like to continue defining the abilities for the engine's actions in the engine's ability.rb file, but ...
1
vote
1answer
17 views
Authentication & Roles management for different users, howto solve this?
Could you help me to solve this ?
I'm creating a management application with to different users :
"User" they are definided in app, that's management person, won't change, and
"Student" they are ...
0
votes
1answer
34 views
Ruby on Rails decimals?
I have a Migration in my database that has a t.decimal type called decnum. I have tried doing things like mdl.decnum = 3.3, and mdl.save, but it just saves decnum as 3, instead of the decimal defined. ...
0
votes
0answers
12 views
Installation of Rubycas-Server
Can anyone help me for installing Rubycas-server.Please please,help me....
0
votes
0answers
13 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
1answer
24 views
Accessing Nested Attributes When Doing Error Checking In Controller
I have a Ruby on Rails 3.2.13 application where I have one model related to several models. I will give information about one of them related models to explain the scenario. I have new and edit ...