[Rails] Re: Equivalent to View Page Source; No AJAX

2010-11-21 Thread José Mota
Perhaps try to override the content-type: @headers["Content-Type"] = "text/plain; charset=utf-8" Let us know if it works. -- 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-t...@googlegr

[Rails] Re: Installing rmagick gem with RVM

2010-11-16 Thread José Mota
Hi Dries, I had the same problem some time ago and needed a solution for myself. Here's the post I followed to successfully install Rmagick: http://teachmetocode.com/articles/installing-rmagick-on-mac-os-x/ Whenever it aborts for missing packages, just install what's left through ports and resume

[Rails] Re: has_many :through - creating a new model

2010-10-15 Thread José Mota
I'll go test it and let you know, Erol. Thanks for the kind help. -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyo

[Rails] has_many :through - creating a new model

2010-10-14 Thread José Mota
Hi guys! I'm having this trouble over relationships between models, like this: Venue (read a student's tests) ---> Assignment ---> Sheet (read musical sheets) Here's a video of what I need to accomplish: http://screenr.com/RQl It's pretty straightforward, I believe: when creating venues, I

[Rails] Re: Devise - alert messages not showing up

2010-09-24 Thread José Mota
I talked to José Valim himself. So it seems Devise won't tell if "you are already logged in" or "you are not logged in". Thanks for the help guys! On Sep 22, 9:09 pm, radhames brito wrote: > surely devise has no errors for that, you can check the devise code and see > if it does -- You receive

[Rails] Re: Devise - alert messages not showing up

2010-09-22 Thread José Mota
It's still not working for me :( My HAML code: http://gist.github.com/592250 flash[:alert] is there. It does show the errors on a bad login, but it doesn't show actions when: * Trying to login when already logged in; * Trying to logout when not logged in at all. -- You received this message beca

[Rails] Re: Devise - alert messages not showing up

2010-09-22 Thread José Mota
Tried flash[:alert] on the view. Still no luck. Regarding Rick's situation, I am not using customizations yet, it's Devise's still default use. Bad login message shows up. Errors on signup show up too. On 21 Set, 22:52, radhames brito wrote: > can you paste the code where you loop the flash in t

[Rails] Re: Devise - alert messages not showing up

2010-09-21 Thread José Mota
I don't have any styles yet, just pure markup :) -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsub

[Rails] Re: Devise - alert messages not showing up

2010-09-21 Thread José Mota
Yes. On Sep 21, 7:37 pm, radhames brito wrote: > are you looping the flash messages? > > flash.each do |name, msg| > ... -- 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-t...@googlegroups.

[Rails] Devise - alert messages not showing up

2010-09-21 Thread José Mota
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 no