On Tue, Sep 21, 2010 at 11:17 PM, tundrax <[email protected]> wrote:
> @Rick: What do you mean by "if I try to sign in (using Devise)" and
> "If I'm on the login screen however"?

Sorry I screwed up the terminology a bit. I'm using :confirmable and
there is a screen where you can "sign up" which sends out a
registration email. This screen produces errors as expected. For
example if I use an existing email, I'll get proper errors:

http://dl.dropbox.com/u/86998/signup.png

However the by "sign in" screen I mean the main login screen. Here is
a screen shot of it - note here I entered an invalid login and I'm
getting no message:

http://dl.dropbox.com/u/86998/signin.png

> Are trying to sign in a Model from another controller and you redirect
> back if login was not successful?

I don't think I'm doing anything out of the ordinary (but I'm a newb
so possibly I am?) I'm using the standard views created by Devise (I
generated them and did add one field "name")

> One more thing, make sure you set the flash messages explicitly if you
> are overriding default Devise controllers' actions.

I haven't overridden any of Devices controllers.

Thanks for trying to help. I'm sure it'll be something stupid.

>
> On Sep 22, 11:25 am, Rick R <[email protected]> wrote:
>> On Tue, Sep 21, 2010 at 7:14 AM, José Mota <[email protected]> wrote:
>> > Hi everyone! I have installed Devise under the following settings:
>> > * Rails 3.0.0.
>> > * Ruby version: 1.9.2p0 (2010-08-18 revison 29036).
>> > * Ubuntu 10.04.
>> > * Devise version: 1.1.2
>>
>> > It appears the alert messages are not being displayed. The notices are
>> > being displayed, no problem with those.
>> > Has anyone noticed this in the meantime perhaps?
>>
>> I might be having a similar issue, if I try to sign in (using Devise),
>> I  do not get a message of anything happening if the login is
>> incorrect. (I assume some kind of error message should show up?)
>>
>> If I'm on the login screen however and I do something wrong I do get
>> proper error notices showing up.
>>
>> --
>> Rick R
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>



-- 
Rick R

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to