When my session expired, Devise is giving me a nonsense error like below:
Here’s my code:
<% flash.each do |key, value| %>
Coming from Rails 2 to Rails 3 I’ve never worked so hard to understand something (side editorial).
Anyway, In a Rails 3 app i have the following models…
I have both a Desktop application and a mobile application. I want to use the same rails application for both “devices”. In another word, I want the mobile application to request contents on the …
I have a rails app:
user has_many :projects
user has_many :tasks, :through => :projects
project has_many :tasks
Each task has a milestone date.
To show a table of project details with next …
Simple Rails app, mostly scaffolding. I want to detect whether the user is using Android or iPhone to access my app. What’s the easiest way to do that?
I’m following these directions to install Rails 3 on my WHM/cPanel VPS. The only change I’m making is to use Ruby 1.9.3 and Rails 3.2.3
However when I get to the command to run “passenger-install-…
Can I have a button in side the form, but do not have the type=submit?
I am doing something special. I have a form,
<%= form_for(@user) do |f| %>
and this form will be rendered based on a …
I want my Rails 3.1 app to scale up to 1 web dyno at 8am, then down to 0 web dynos at 5pm.
BUT, I do not want to sign up for a paid service, and I cannot count on my home computer being connected to …
I’m working on a Rails 3.2 application with the following routing conditions:
scope “(:locale)”, locale: /de|en/ do
resources :categories, only: [:index, :show]
get “newest/index”, as: :newest