search for: beausoleil

Displaying 20 results from an estimated 246 matches for "beausoleil".

2007 May 17
4
How to mock helpers in view specs ?
...cessible to anonymous users" do @forums_proxy.should_receive(:readable_by).with(nil).and_return([]) do_render end def do_render render "forum_categories/index" end end What am I doing wrong ? This is on RSpec 0.9.4 and RSpec on Rails 0.9.4. Thanks ! -- Fran?ois Beausoleil http://blog.teksol.info/ http://piston.rubyforge.org/
2005 Dec 07
5
InPlaceEditor update of page contents ?
Hi all ! InPlaceEditor refreshes only the element that was updated. Is there any way to make it update tons of other stuff ? I have a table where changing a value in it causes changes in most other cells (weight to percentage to money). Thanks for any help ! -- François Beausoleil http://blog.teksol.info/ _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Mar 30
9
script/console not working after Rails 1.1 upgrade
Whenever I do script/console I get an error message: Loading development enviroment. c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method ''upcase'' for nil:NilClass (NoMethodError) from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup'' from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start'' from c:/ruby/bin/irb:13
2006 Mar 24
8
[OT] Does Net::HTTP support secure connections ?
Hi ! I''m trying to connect to an https URL, but it seems it doesn''t work. Has anyone successfully connected from Ruby to an HTTPS server ? Thanks ! -- Fran?ois Beausoleil http://blog.teksol.info/
2006 Jul 20
5
Apache 2.2, Mongrel and #caches_page
...what I''m wondering. I tried: RewriteRule ^(.*)$ balancer://smrty/ [QSA,L] but that simply generates an HTML file that says "Found, document moved here", with here being a link to "balancer://smrty/". Anybody knows what I should be using here ? Thanks ! -- Fran?ois Beausoleil http://blog.teksol.info/
2006 Feb 24
6
when i save, rails doesnt update the model instance with the id of the new record
Hi everybody, Im using sqlserver (sqlserver adapter). I think that is some bug. any idea? -- _________ Noel R. Morais
2006 Jan 14
2
SwitchTower and SCGI
...t normal that I have to build the path myself ? Is there a variable that''s not mentionned anywhere that returns the whole path at once, instead of having to build it myself, piecemeal ? If not, I know I can build it myself, using a Proc, near the start of deploy.rb. Thanks ! -- Fran?ois Beausoleil http://blog.teksol.info/
2006 Mar 07
5
subversion help!
I created a subversion repository on my new vps and i''m trying to setup my rails app there. However i keep getting this error: subversion/libsvn_subr/io.c:2516: (apr_err=13) svn: Can''t create directory ''/home/svnadmin/rapleaf/db/transactions/0-1.txn'': Permission denied How do i fix this? I know others have had this before, so i would appreciate some help.
2006 Dec 08
2
Windows Tempfile Fix Plugin
...g this fix available as a Rails plugin. The details can be found here: http://blog.teksol.info/articles/2006/12/08/windows-tempfile-fix-plugin If you'd prefer patching your Ruby, the fix is in tempfile.rb:55. Or File::BINARY to the other constants in the File#open call. Enjoy ! -- François Beausoleil http://blog.teksol.info/ http://piston.rubyforge.org/ --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To un...
2006 Dec 08
2
Windows Tempfile Fix Plugin
...g this fix available as a Rails plugin. The details can be found here: http://blog.teksol.info/articles/2006/12/08/windows-tempfile-fix-plugin If you'd prefer patching your Ruby, the fix is in tempfile.rb:55. Or File::BINARY to the other constants in the File#open call. Enjoy ! -- François Beausoleil http://blog.teksol.info/ http://piston.rubyforge.org/ --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To un...
2006 Jul 26
2
ResponseLogger Plugin
...se-logger Alternatively, you can install using +svn:externals+ by doing: $ script/plugin source svn://svn.teksol.info/svn/rails/plugins $ script/plugin install -x response-logger == License This plugin is released under the MIT License. I hope someone finds this useful. Bye ! -- Fran?ois Beausoleil http://blog.teksol.info/
2006 May 16
4
question about strftime when called from partial.
Hi, I''m calling a helper I''ve written - format_time() that is called from my views with a given time that was selected from my database and was returned to the view via an instance variable. When I call format_time from a partial, I see that I get some kind of String error and the partial won''t render. Basically, the object being passed in to format_time is already a
2007 May 10
12
shared descriptions -- a couple of issues
Hello All, I''ve just upgraded to rspec/rspec_on_rails 0.9.3 and am very excited about shared descriptions. They couldn''t have come at a better time: I just finished refactoring some REST controllers so that the bulk of the actions are inherited from a superclass. Now I can write the specs once, too. :) I''ve hit a couple of snags, though. I thought I''d
2006 Jan 20
3
Process watchdogging anyone ?
.... I found Watchdog::Process on CPAN, but it won''t install. There''s some kind of error. Launchd would be ideal, unfortunately, I''m on Debian. Anyone has a good solution ? Maybe I should simply switch to FastCGI and let Lighty handle the details ? Thanks ! -- Fran?ois Beausoleil http://blog.teksol.info/
2006 Oct 25
2
Isn''t it possible to stub / expect on :id ?
...t/functional/payouts_controller_test.rb:22: warning: Object#id will be deprecated; use Object#object_id What am I missing ? :id is a fairly frequent method to override in Rails-based applications. I''m using Mocha from svn://rubyforge.org/var/svn/mocha/trunk @ r70. Thanks ! -- Fran?ois Beausoleil http://blog.teksol.info/ http://piston.rubyforge.org/
2007 Jan 29
2
Cryptic error message when no controller_name
...9; Line 134 of controller.rb is: @controller.session = session We are probably only missing a check to ensure that @controller is somehow defined. Failing that should simply say "You forgot to define controller_name in your controller spec". This is on 0.7.5.1. Thanks ! -- Fran?ois Beausoleil http://blog.teksol.info/ http://piston.rubyforge.org/
2006 Apr 01
6
how to use datepicker
This is the webpage: http://projects.exactlyoneturtle.com/date_picker/ I have downloaded and installed it. But how do I use in view page? This is the usual view with ordinary datetime_select: <p><label for="product_date_available">Date available</label><br/> <%= datetime_select ''product'', ''date_available'' %></p>
2007 Jan 24
7
Differences between assert_tag and assert_select
...bly something I'm not doing right, for sure. #assert_select is supposed to be so much easier to use, but I'm not find that at all. I just learned about "a[onclick*=?]", and I can make my test pass with that. But regexps sure are something I use very often. Thanks ! -- François Beausoleil http://blog.teksol.info/ http://piston.rubyforge.org/ --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To uns...
2006 May 03
8
Subversion and tmp directory in Rails 1.1 project
Hello everyone! I''m thinking of the right way to store tmp/ directory of Rails 1.1 project in Subversion. It has cache, session and sockets subdirectories. To me, it looks good to have svn delete tmp/* svn propset svn:ignore "*" tmp So it will ignore all directories and files in tmp/. Even if you create sessions/ and put some files in it, tmp/ content is still ignored. But
2006 Mar 14
7
Single form w/ relationships: how do I integrate it?
OK - I know this has been asked before, but I cannot find it in the archives. Forgive me if I''m creating more noise than I should. I want to know the easiest way to deal with this scenario: I have articles. I have categories for the articles. On the form where you write an article, there needs to be a free-form field to entire the category. The create() method will build the