similar to: How to undo ''rake rails:update''?

Displaying 20 results from an estimated 3000 matches similar to: "How to undo ''rake rails:update''?"

2006 Mar 29
1
Unit tests rail on 1.1, was fine on 1.0
Running Debian 3.1, ruby 1.8.2, postgresql 7.4.x, rails-1.0 gem and rails-1.1 (rake freeze_edge). After if ''rake freeze_edge && rake rails:update'' (to rails 1.1), my unit test fails with an error attempting to create sequence table that already exists (ie. addresses_id_seq table). But if I roll back with ''rake rails:unfreeze'' (to rails 1.0), my unit
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 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 Feb 09
2
#3775 - testing helpers which use ActionView methods
http://dev.rubyonrails.org/ticket/3775 I''m hoping someone will pop up and tell me I''m simply daft with this ticket (and queries on IRC, and a prior post to the main Rails list), but I can''t get a peep out of anyone so far. The question is, how do I write a simple test for a helper method which calls ActionView methods itself. E.g., a foo_link() helper which calls
2006 Mar 13
1
"rake freeze_edge" over proxy?
How do i use "rake freeze_edge" over a proxy? "rake freeze_edge -p http://...." doesnt work THanks Chris -- Posted via http://www.ruby-forum.com/.
2006 Feb 24
1
rake freeze_edge doesn''t work
I got these messages running ''rake freeze_edge'' in the application directory rake aborted! Don''t know how to build task ''freeze_edge'' What gives ? TIA -- 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
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!