For issues specific to version 4 of Rails.
I was playing around with Rails 4.x beta and trying to get nested attributes working with carrierwave. Not sure if …
ruby-on-rails ruby ruby-on-rails-4 strong-parametersHow can I merge two arrays? Something like this: @movie = Movie.first() @options = Movie.order("RANDOM()").first(3).merge(@movie) But …
ruby-on-rails ruby ruby-on-rails-4 orm rails-activerecordThis might seem a repeated question but none of the solutions seem to work for me. I have gem jquery-rails …
jquery ruby-on-rails ruby-on-rails-4 assetsEverything goes well in local machine with assets pipeline in Rails 4 and Ruby 2.0. But when deploying to heroku, it is …
heroku asset-pipeline ruby-on-rails-4I'm writing a Rails 4 app that will expose an API for a mobile app that's yet to be developed. Users …
ruby-on-rails ruby-on-rails-4 rails-apiHere is my rails link_to <%= link_to 'Delete',url_for(action: :delete,id: @user.id),data: {confirm: "Are …
ruby-on-rails ruby-on-rails-3.2 ruby-on-rails-4The following post is based on Rails 4. I am currently looking for a best-practice about the multiple nested resources (more …
ruby-on-rails api rest ruby-on-rails-4 nested-routesI'm using Devise with Ruby on Rails. What is the recommended way to redirect unauthenticated users to the sessions#new …
ruby-on-rails ruby-on-rails-4 devise wardenI have a schema like this. managers has_many :emails has_many :stores emails belongs_to :manager stores belongs_to :…
ruby-on-rails-4 rails-activerecord active-record-queryRails 4 appears to set a default value of SAMEORIGIN for the X-Frame-Options HTTP response header. This is great for security, …
ruby-on-rails iframe http-headers ruby-on-rails-4 x-frame-options