search for: pupeno

Displaying 7 results from an estimated 7 matches for "pupeno".

Did you mean: bueno
2010 Jun 11
5
Issues creating tables in mysql tests
...in activerecord/test/cases/migration_test.rb. Is that ok? But then, when I run the tests for a second time, I get an error about values already existing. Where are the drop table calls? I couldn''t find them. My more immediate problem so far is that I''m getting this error: /Users/pupeno/Projects/rails/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:210:in `log'': Mysql::Error: Table ''camelcase'' already exists: CREATE TABLE `CamelCase` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB (Ac...
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 unsubscrib...
2007 Nov 25
5
Can't find rails after re-installing/upgrading Kubuntu
...l -v=1.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
2002 Aug 27
2
unicode
...ba 2.2.3a on Mandrake 8.2 and I have some files with unicode chars in their file names (in fact, I'm moving all my file names to unicode, utf8). And now, I notice, that in windows, the names appeared scrambled and the files are not accesible, is there any way to solve this ? Thank you. - -- Pupeno: pupeno@pupeno.com http://www.pupeno.com - --- Help the hungry children of Argentina, please go to (and make it your homepage): http://www.porloschicos.com/servlet/PorLosChicos?comando=donar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9a/ghLr8z5XzmSDQRAgN0AJ9mPWu64kMtdI...
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-/JYPxA39Uh5TL...
2007 Sep 30
2
Outputing to the browser, how?
...ne_method(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-/JYPxA39Uh5TL...
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"