search for: rubyredrick

Displaying 12 results from an estimated 12 matches for "rubyredrick".

2011 Feb 03
2
Possible to ask rspec to show more code in the debugger?
This came up from an other issue where I needed to go check something in test::unit. Immediately when I dropped into the debugger in test::unit I saw something I have been missing: test unit by default shows a number of lines of code. Is there a way to make the rspec debugger do this? I am not sure if it is just me, but seems to me that when I moved to rspec, certain things which seemed to be
2011 Apr 28
3
difference between validate and validate_on_create
i just ran into a problem with some test, and i am not exactly sure why, but the difference happened when i changed my model validation from: validate :custom_validation to: validate_on_create :custom_validation can someone give me any ideas on where in the chain the validation takes place? thanks! -- Posted via http://www.ruby-forum.com/.
2010 Apr 28
0
Route globbing in Rails 3 beta 3
...s an intentional change or a bug? I do see it''s documented that way in the edge version of http://guides.rails.info/routing.html#route-globbing So I guess its intentional, but just wanted to make sure. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonra...
2010 Apr 13
1
People Centric recherche plusieurs développeurs Ruby on Rails
Un bon job de Developpeur Expérimenté Ruby on Rails, sur logiciel marketing digital, équipe pro, Paris 2, Sté Cotée, Paris Rou SiliconValley. Veuillez consulter le lien suivant pour plusieurs détails: http://www.people-centric.fr/2010/01/27/type/6368-job-developpeur-ruby.html/fr/ Cordialement, Roxana Stefan Malene Chargée de recrutement en IT Mail:
2011 Apr 07
0
accepts_nested_attributes_for, validations, :inverse_of option on associations, and IdentityMap
...ing overwritten by queries. I haven''t dug through the InstanceMap code enough yet to see if that is the case. I''m loath to move to edge just to try this. Any advice from the core-savvy guys. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonra...
2010 Apr 02
2
Rails and PHP app under the same domain
Hello I have a rails site in a domain like http://domain.com/ which is in one folder the whole application and a blog (wordpress - php application in another folder) under http://blog.domain.com/. How can I do http://domain.com/blog/ shows up the php application? Thank you! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2010 Jun 14
8
Default Test library
Along the same lines as the default javascript library discussion [1], why don''t we switch the default test library to RSpec? The stats [2] posted by Xaviar in the other thread seem to support that RSpec is the preferred way to test. [1] http://groups.google.com/group/rubyonrails-core/browse_thread/thread/e9b9cf2233d9a59b [2] http://survey.hamptoncatlin.com/survey/stats -- You received
2010 Apr 13
2
Advise sought: Upgrade from Rails 2.0.1 to current
I have upgraded from 1.2.6 to 2.0.1 and successfully passed all my test and manual testing. Everything seems to be working correctly. My application is pretty vanilla and so there where few complications. Question is, should I do another point upgrade (and if so, which point to upgrade to next) or is it safe (and prudent) to just go straight on to the current version (2.3.x). Advise would be
2010 Mar 31
5
undefined method `each' for "":String
I implemented creating an object within another object according to this Railscast: http://railscasts.com/episodes/74-complex-forms-part-2 but I''m getting this error after I submit. Any ideas? undefined method `each'' for "":String -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2011 Jan 30
5
Named routes problem... more rails than rspec
Howdy, I have emailed before about the inconsistencies I''m spotting when using named routes/resource, but I think I''ve narrowed down the issue. It would seem this has nothing to do with rspec per se, but more with how routing works with rails. If you have an object instance, that isn''t saved and you attempt to generate a path for that item, even though the item may
2010 Nov 02
7
Testing attr_accessible (and/or attr_protected)
I''ve been puzzling over how to test that attr_accessible has been set for the correct columns; but the tests I''ve come up with so far seem to fail to fail when I expect. I came across this old message from this list: http://www.mail-archive.com/rspec-users at rubyforge.org/msg01570.html Which seemed like a plausible example, but my attempt (modeled on the example)
2010 Apr 20
13
why is ActiveRecord tying to select nonex ID column?
I''ve loaded (and updated) thousands of these MeteredUsage records. In the middle of a run, I suddenly get: ActiveRecord::StatementInvalid: Mysql::Error: Unknown column ''id'' in ''where clause'': UPDATE `metered_usages` SET `cost` = 12603.46 WHERE `id` = NULL I can''t see anything that''s different about this particular record compared to