similar to: is "Task" a reserved class name in Edge Rails? (it clashes with Rake''s Task)

Displaying 20 results from an estimated 8000 matches similar to: "is "Task" a reserved class name in Edge Rails? (it clashes with Rake''s Task)"

2006 Feb 16
1
HABTM -VS- belongs_to/has_many, for self-referential joins
Ok, David says on page 241 that sometimes a many-to-many relation with attributes are better implemented as an actual model instead of using HABTM. Well, I''ve got that situation and I can''t figure it out. All of the examples in the book have HABTM examples between 2 different tables, but I want to have a HABTM relation on 1 table with itself. (e.g., if I have a table Things,
2006 May 02
2
Autotest doesn''t work on WinXP?
When I try to run autotest (zenspider) (which looks VERY cool), I get this error: (run from within a Rails app directory) C:\ruby_home\analysis>autotest -rails # Testing updated files + c:/ruby/bin/ruby -Ilib:test -e ''["test/unit/user_test.rb", "test/unit/role_test.rb"].each { |f| load f }'' | unit_diff -u ''c:'' is not recognized
2006 May 24
0
processing emails to extract HTML content? (is RubyMail or TMail right?)
I need to extract the main body from an HTML email - or - strip all of the email related stuff out of an email leaving just the HTML code that is in the body (ideally, so that it could be saved as an HTML page that is ready to show in a browser). Has anyone had success doing something like this? I''ve found RubyMail and TMail that purport to help with this, but was wondering if anyone had
2006 Mar 02
3
Modifying "Find" to always add a condition?
I''d like to always add a condition to any version of "find" (e.g. Thing.find(), Thing.find_by_name(), Thing.find_by_whatever) so that in addition to whatever conditions are set, an additional condition is set :conditions=>"user_id=#{current_user.id}" I''d like to make sure that a user only sees/edits/creates entries in the database that have the user_id
2006 May 02
4
recommended setup of Mongrel_cluster + SSL for multiple apps?
I''d like to use Mongrel_cluster with SSL on a green-field application (it can be configured however is best - initially, "ease of setup" is important, but then soon after will be scaling and response time). I''ve read a lot of emails on this topic, and checked out the Mongrel pages, etc, but I''m left with this question of what is recommended: For a
2009 Nov 15
1
debian and cran2deb name clashes
Dear all Recently I noticed that there are name clashes between the packages proposed in the Debian testing repos and cran2deb. For example, Synaptic proposes to upgrade from xtable 1.5-6-1cran1 (cran2deb, up-to-date CRAN version) to 1.5.5-1 (testing, older version). Is there anything that can be done about these clashes? Liviu -- Do you know how to read?
2002 May 23
1
Samba 2.2.4 frequent mangled names clashes
Hi all, while working with Netbench I've discovered that mangled directory names clash rather frequently with Samba 2.2.4: If I take an NT box, open the cmd prompt and make the following directories on a Samba share, client100 and client121, both mangle to CLIEN~GH. If I create directories client100 through client130 I see 11 clashes altogether: CLIEN~GH: client100 client121 CLIEN~MF:
2000 Aug 15
0
crc32() clashes with zlib function of the same name
OpenSSH defines a function crc32(), and so does the zlib library. This is at best confusing (since they are different functions with different prototypes), and at worst a source of crashes. I found this problem getting OpenSSH up and running on Darwin, which turned out to be calling the wrong function. My bandaid was to include ``-Dcrc32=crcsum32'' in CFLAGS. The proper fix would be
2011 Feb 16
2
Avoiding name clashes: opinion on best practice naming conventions
Dear List, I'm trying to figure out some best practice way with respect to the naming conventions when building own packages. I'd like to minimize the risk of choosing function names that might interfere with those of other packages (both available ones and those yet to come). I came up with following alternatives 1. Prefixing the actual names (e.g. myPkgfoo() instead of foo()): pretty
2007 Sep 04
7
Rake tasks getting in the way of edge (uses gem instead)
So I''d been running gem releases of rspec for the past several months, and I installed edge rspec so that I can use Story Runner. I''m running into a problem because I''ve got a couple rake tasks that reference "spec/rake/raketask". If I try to run "rake spec" then it pulls in the gem version instead of the plugin version. rake blows up saying that
2009 May 30
0
rake aborted! EMULTIHOP (Reserved)
Hi, I am using netbeans 6.5.1 IDE for development,(On fedora operating system) I have installed mysql and given proper sock file path in the database.yml file. But still I am getting this error when i am trying to migrate the database to current version. (in /home/a1tech/NetBeansProjects/RailsApplication1) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute
2013 Jul 01
0
Rake task like "rake cache_digests:dependencies" for Rails 4?
The cache_digests gem has the "rake cache_digests:dependencies" task for checking template dependencies. Since Rails 4 includes this caching scheme by default, should it include a similar rake task? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send
2006 Mar 01
2
Rake error on edge rails
I updated my "edge rails" this morning, ran ''rake'', and got: rake aborted! undefined method `namespace'' for main:Object ./rakefile:10 To verify, I created a new project, ran ''rake'' and didn''t get the error. Then I ran ''rake freeze_edge'', re-ran ''rake'' and got the same error. Is anyone else
2008 Apr 29
0
rake build_postgres_databases fails on edge... How to use the new schema.rb system?
Posted this message on Core, but maybe it belongs here. The subject pretty much says it all. I''m getting ready to set up an environment for working on my first patch, and I discovered that the activerecord/test/schema files have changed, but the Rakefile hasn''t yet been updated. Is there a simple way to set up the test databases with the new system?
2013 Feb 28
0
Rake tasks db:test:prepare cannot be executed in the same task of db:reset or db:migrate
Hey all, I''m trying to create a task that prepare the environment to start programming. To do so, I created a task like this *task :setup_env => [''db:reset'', ''db:migrate'', ''db:test:prepare'']* and observed that after execute * rake setup_env*, it never execute db:test:prepare properly. In order to get the schema cloned to test db,
2007 Oct 03
2
rails:freeze:edge task is broken [updating to 2.0]
On 10/3/07, Glenn Rempe <glenn.rempe@gmail.com> wrote: > > > You may want to also take a look at this bug report that I filed. I > had the same problem and running the ''rake rails:freeze:edge > TAG=rel_2-0-0_PR'' TWO times resolved the issue for me when upgrading a > 1.2.3 app. Explanation in the bug report. > >
2006 Oct 22
0
[705] trunk/wxruby2/rake/rakedocs.rb: Add rake task to publish docs to wxruby website (Alex Fenton)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Mar 31
1
rake doc:rails fails with edge rails
Hi, I''m sure I''m doing something stupid, but I can''t figure this one out. I want the edge rails docs (I''m using svn:externals for vendor/rails to get edge rails). Running ruby 1.8.4, and edge rails. Tried on linux and OS X. ''rake doc:app'' and ''rake doc:plugins'' works fine, but when I run ''rake
2006 Jan 26
5
rake update_javascripts on edge has no effect
I moved to the edge yesterday and ran rake update_javascripts to get the latest prototype stuff into my public directory. To my surprise, the old files were still there afterward. I just took a peek at javascripts.rake in vendor/rails/railties/lib/tasks. The update_javascripts task is copying .js files from Dir[RAILTIES_PATH + ''/html/javascripts/*.js''] My railties
2007 Oct 12
0
Speccing a rake task
Greetings, I''m writing a custom rake task, and I''d like to write an assosciated spec for it. Does anyone have an example spec for a rake task? I''ve seen some examples on the web that use these before blocks: before(:each) do @rake = Rake::Application.new Rake.application = @rake end And use @rake["db:user_migration"].invoke To invoke the