search for: muprn

Displaying 20 results from an estimated 34 matches for "muprn".

Did you mean: uprn
2006 Feb 17
2
HELP: Strange problem with breakpointer - stopped working
Hello, I am in the middle of my first ROR project and suddently the breakpointer script (./script/breakpointer) does allways return the error listed below. All time before it was working without problems - but the funny think, I did not change anything on the system (despite downloading the Suse Security Patches). I am running: Suse 9.3 Rails 1.00 Ruby 1.8.3 Please help, if you have any
2006 Feb 09
2
#3775 - testing helpers which use ActionView methods
...nView methods itself. E.g., a foo_link() helper which calls link_to(). I noticed that Typo doesn''t test these, though it seems to have tests for everything else. Am I missing something, or is there a gap here in Rails'' testability? Best, Rick -- http://www.rickbradley.com MUPRN: 485 | conversion Spam is random email haiku | all about prior consent | for delivery.
2006 Jan 06
4
Design flaw with Fixtures?
I''ve been trying to add unit testing for collection of models with complex relationships -- and failing miserably. Because of the complexity of the relationships, I''m using a database which validates foreign key constraints (PostgreSQL 8). I''m finding it nearly impossible to generate tests that are independent of each other. The basic problem is the DELETE then
2006 Feb 17
8
Atom
Any plans for using Atom with rails. I saw the "Typo" project is using MoveableType, Blogger, ... but not Atom. It seems Atom is not part of ActionWebService. Has anyone done any work with Atom and Rails ? Thanks for your answers, Gaspard
2006 Jul 09
2
serialized DateTime objects returning as Time objects
I have a database field called dates in which I am trying to serialize an array of DateTime objects. When I unserialize them, they are coming back in as Time objects. I know this, because I am getting errors that say "comparison between Time and DateTime failed. Why is this happening? Is there a way to prevent it?? Thanks Shelby -------------- next part -------------- An HTML attachment
2006 Mar 29
2
How to undo ''rake rails:update''?
How do I reverse this action? rake freeze_edge rake rails:update Step 1: rake rails:unfreeze Step 2: ??? (what is reverse of ''rake rails:update''? -- Posted via http://www.ruby-forum.com/.
2006 Feb 10
2
How do I test actionview helpers in the console?
I would like to see the output of actionview helper methods, to be able to play with it. When I do the following in the console: collection_select("job", "client_id" , @clients, "id", "name") I get: NoMethodError: undefined method `collection_select'' for #<Object:0xb7cf1970> I''d like to get something like: <select
2006 Feb 19
2
New version of Selenium on Rails
I''ve just released a new version of Selenium on Rails[1]. It''s a plugin that makes it easy to test Rails applications through browsers using Selenium [2]. The major new features are exprimental support for running all tests through a Rake task (which launches any number of browsers) and a new format RSelenese. The Rake task has a few rough edges so I would appreciate if
2005 Mar 06
1
Force a file download AND render a page
I have managed to force the download of a pdf to the user''s computer, and make the link appear on a page rendered for the user. I cannot figure out how to do both, however. You know "Your download will begin shortly, if not click _here_" Relevant controller code: (this is solely for testing purposes, i will sanitize the path and such later) def test_render_first(path) # send
2005 Mar 06
4
has_many and order
Hi all, if I have a has_many and belongs_to relations like this category has many articles article belongs to category is there a way I can specify the order of articles when pulling them up with @some_category.articles ? Many thanks in advance! -- Nicky
2006 Feb 20
1
Object finalization help
Heya guys, This one is bothering me as its evading my eye. I''m trying to set a callback on finalization of an object, ie: a finalizer set through a plugin to the model. Example In Plugin: def acts_as_goat class_eval do ObjectSpace.define_finalizer(self, lambda {self.conn.close} ) end end class UberGoat < ActiveRecord::Base acts_as_goat end Is this the correct way to set
2005 Dec 20
0
Patch lovin'' for #2018? ("rake appdoc fails on Windows systems")
...developers who use Windows but I''m the one forcing^Wenticing them to write the RDoc) and we should probably just fix the rake task and get out of their way. Anyway, if someone could see through to checking the ticket over that would be cool. Best, Rick -- http://www.rickbradley.com MUPRN: 958 | that I''ve been cracking random email haiku | keys since November 5th Has | it been that long? Sheesh...
2006 Feb 07
0
scope problems testing a helper method that calls link_to()
..., ActionView::Helpers::UrlHelper and get past link_to (and, I think url_for) but end up blowing on tag_options (IIRC). Seems like there must be a simpler and more straightforward way to do this, that I''m sure I missed in Rails 101. Any suggestions? Rick -- http://www.rickbradley.com MUPRN: 591 | At present, one of random email haiku | the machines shows all the | detail from reboots.
2006 Feb 12
2
AJAX calls don''t do validation
Chatting on the IRC channel today to people (thanks!) it came up that submitting a form remote bypasses the :validates... in the model. At least thats how it looks from my tests and what people said is the current behaviour. Is this the case? If so, is there a way around it or will it change in the future? I can imagine good reasons for the current behaviour. have fun, SteveC
2006 Jul 10
4
Detecting the close of a browser
Hi, I noticed that www.meebo.com has the ability that when you close the browser during a session, it prompts you , are you sure you want to close? How does it do this? I would like to use such an ability , so that if the user preempts a close on the browser, I can kill all threads I have running for that user. Thanks -- Posted via http://www.ruby-forum.com/.
2006 Feb 16
5
Firefox and IE performance with Rails App
In my rails application, certain computers were having huge problems. There were certain pages that were exceptionally slow, even to the point of timing out. Other computers did not have a problem. I finally found that Firefox was the difference. When using Firefox on those computers it works fine. The slow pages were typically posting a form with a couple hundred fields. This behavior was
2005 Mar 03
5
Whats ''favicon.ico''
I''m seeing the following in the WEBbrick console output after every GET 192.168.0.108 - - [03/Mar/2005:15:35:19 AUS Eastern Daylight Time] "GET /favicon.ico HTTP/1.1" 200 60 - -> /favicon.ico What does /favicon.ico (which doesnt seem to exist in my source) do for Rails? _______________________________________________ Rails mailing list
2006 Jan 18
1
Problem with OCI in Apache
My Application runs fine when run on webrick, but throws up database error when run from apache. this is the copy of the FULL TRACE i get /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `create'' /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/oci_adapter.rb:515:in
2006 Feb 16
3
Breakpoints completely fail to work
I did as I was told: add "breakpoint" to an action, start script/server, start script/breakpointer, then go to the action in the browser. Absolutely nothing happens, on either side. I''ve tried every variation of starting what when I can think of, I''ve specified ports, I''ve done all I can think of, but never once have I gotten the fabled irb prompt that
2005 Mar 02
4
Don''t Try This at Home (rails --help)
So I was attempting to determine what version of Rails I was running; I first I did rails -v which went off and created a -v directory. I then did a rails --help which created a --help directory... I dont know if you have ever tried, but deleting a directory named --help from the cli is about impossible! I had to write a ruby script to clean up the mess I made!