My route file:
Subdomain::Application.routes.draw do
#devise_for :users
devise_for :users, :controllers => {:registrations => "registrations",
:sessions => "sessions"}
root :to => "home#index"
end
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are s
I am trying some different with devise
overload the devise session controller
class SessionsController < Devise::SessionsController
def new
super
end
def create
resource = warden.authenticate!(:scope => resource_name, :recall =>
:failure)
Hi
I got error while I try this:
My controller is :
class SessionsController < Devise::SessionsController
def new
super
end
def create
resource = warden.authenticate!(:scope => resource_name, :recall =>
:failure)
if resource
subdomain_name = current_user.account.subdomain
Hi I am a new Rails Developer
My application_controller is:
class ApplicationController < ActionController::Base
protect_from_forgery
before_filter :sshow
def sshow
puts "==="
puts YAML::dump(request.subdomains)
end
end
now when I put kausik.localhost:30
Hi
I had a IDE netbeans now I have installed red car but after
installing redcar my NETBEANS not working so I want to remove redcar
from my local machine(ubuntu 10.10)
when I put this in console:
> sudo gem uninstall redcar
I got
WARNING: Invalid .gemspec format in
'/usr/lib/ruby/gems/1.
I am very new in javascript
and I want a regular expression for
kausik-543678
here kausik- is fixed
and
the next integer field is dynamic
I am trying to form a regular expression for
kausik-123456 or kausik-45765677367567 or kausik-64747
please help
Thanks in Advance
Kausik
--
Posted via
How can I display model validation error in view page separately beside
each form field instead top grouping message
Thanks in advance
kauisk
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To
On Sun, Jan 1, 2012 at 5:06 AM, oS wrote:
> HAPPY NEW YEAR
>
> from my I&iPhone
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this gr
Hi
I use mongoid for rails application
and I try to do
@users = User.where("first_name = ? OR last_name = ? OR type = ?",
firstname, lastname, usertype)
but I am getting error
but when i put:
@users = User.where(:first_name => firstname, :last_name => lastname,
:type => usertype).all
the program
is group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
Hi
This is KAUSIK having a experience of 1 year & 8 months on ROR.
Currently I am in Kolkata and want to relocate with better opportunity. I
attached my resume along with this mail.
Thanks & Regards
Kausik Ba
o unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
hi
sayuj
you can go: https://github.com/kausikbakshi/friends
here you find an example of social netw
hi
Everaldo
Actually this error is happen due to some other reason
service.filesworking correctly
but when I try to execute :
service.folders
it gets error:
invalid response received: 403
GData4Ruby::HTTPRequestFailed:
GDataServiceForbiddenException403.4
SSL required
In previo
In previous I use gdocs4ruby to access Google document of my account
from outside the google.
I used the code inside my controller:
require 'rubygems'
require 'gdata'
require 'gdocs4ruby'
include GDocs4Ruby
class DocumentController < ApplicationController
def creat
service = GDocs4Ruby::Servi
13 matches
Mail list logo