search for: gatdadarczzqt0dzr

Displaying 5 results from an estimated 5 matches for "gatdadarczzqt0dzr".

2010 Jun 15
8
Allow blank on should validate_uniqueness_of
Hello, Using shoulda, any ideas how to allow blank when having this test: should validate_uniqueness_of(:email) Thanks. -- J. Pablo Fernández <pupeno-GAtDADarczzQT0dZR+AlfA@public.gmane.org> (http://pupeno.com) -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group,...
2007 Nov 25
5
Can't find rails after re-installing/upgrading Kubuntu
...2.4 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version. Just to check I created a new rails project and it just works. Any ideas what else I am forgetting to change/update to have my old project working? Thank you. -- J. Pablo Fernández <pupeno-GAtDADarczzQT0dZR+AlfA@public.gmane.org> http://pupeno.com
2007 Sep 30
2
Outputing to the browser, how?
...od(name) do |label, *args| @template.content_tag(:tr) do @template.content_tag(:td) do @template.content_tag(:label, label.to_s.humanize) end + @template.content_tag(:td, super) end end end end Thank you. -- J. Pablo Fernández <pupeno-GAtDADarczzQT0dZR+AlfA@public.gmane.org> (http://pupeno.com) --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.g...
2009 Nov 09
3
How can I improve a Ruby on Rails code that hast a lot of SQL as strings?
...voter_id")) == user_id Integer(read_attribute("user_vote")) else vote = votes.find(:first, :conditions => ["user_id = ?", user_id]) if vote vote.value else 0 end end end end Thanks. -- J. Pablo Fernández <pupeno-GAtDADarczzQT0dZR+AlfA@public.gmane.org> (http://pupeno.com) --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.g...
2011 Aug 22
6
Trouble with Ruby on Rails
Some background info: I am an OS X user, and my MAC system is OS X 10.6.8(snow leopard). @1st problem (regarding Ruby on Rails installation): I have installed ruby "1.9.2" with RVM. When I typed "ruby -v" command in terminal after installation, it says that the ruby version I have is "1.8.7". Strange, isn''t it? So, I have tried "rvm use 1.9.2"