similar to: Automatic namespacing of custom Rake tasks

Displaying 20 results from an estimated 10000 matches similar to: "Automatic namespacing of custom Rake tasks"

2006 Jul 07
2
Testing views with Hpricot
assert_tag smells bad. Hpricot smells nice (apricotty!). Testing your views with Hpricot: http://www.lukeredpath.co.uk/index.php/2006/07/07/testing-your-rails- views-with-hpricot/ Big thanks to _why for a great little library! Feedback is appreciated. rSpec integration coming soon (hopefully!). Cheers, Luke Redpath contact@lukeredpath.co.uk -------------- next part -------------- An HTML
2006 Jun 29
2
Random routing errors in 1.1.3 with Mongrel
Since upgrading to 1.1.3 on our dev box, we''ve started to see random routing errors with our apps running under Mongrel in production mode. The errors seem to go away after a while but come back everytime we restart the server. This may be a mongrel problem, it may be a rails problem (I''ve posted a bug on the trac) and I was wondering if anybody else had had similar
2006 Jun 05
1
Unobtrusive javascript...what if?
What if...you could produce accessible, unobtrusive javascript, using Rails built-in javascript/prototype helpers, with just one extra line of code in your layout, a plugin, and one small enhancement to the helpers. Something like this: [php] <% form_remote_tag :controller => ''foo'', :action => ''bar'', :unobtrusive => true %> # which produces
2006 Aug 01
0
Unobtrusive Javascript for Rails 0.2
Dan Webb (http://www.vivabit.com) and I are happy to announce the latest release of the Unobtrusive Javascript plugin for Rails. This release packs in lots of cool new features, a few changes to old ones and some performance enhancements. Now you can write your behaviours in Ruby, attach behaviours directly to elements using content_tag and apply behaviours to elements without HTML IDs.
2006 Jul 27
0
Rails Plugin Packs
As the number of Rails plugins steadily increases, remembering and managing these plugins is getting increasingly difficult. There is some significant effort going into improving the process of installing plugins with the RaPT project. However, as you start to find your favourite plugins, you might often find yourself using the same group of plugins on every new Rails project that you
2006 Apr 12
2
Rake not finding lib/tasks folder?
Hi all, I''m attempting to set up a new Rails app using Typo. I''ve downloaded the Typo 2.6.0 edition which includes Rails 1.0 and it works fine. I''ve set up version control with SVN and checked out a new working copy. I''ve run Capistrano -A on the application and it''s set up my deploy.rb and lib/tasks/capistrano.rake. Rake doesn''t seem
2006 Sep 13
2
Problem with RSpec and Mocha/Stubba
I''ve recently upgraded to the latest versions of Mocha and RSpec (0.3.2 and 0.6.3 respectively) and I''m no longer able to use Mocha/ Stubba with RSpec. Its actually only Stubba I''m interested in as I use RSpec''s built-in mocking library. I require stubba in my spec file but whenever I try and run my spec it fails with the error: Unintialized constant
2006 Feb 24
0
Net::SMS::BulkSMS 0.2 - with international support
As promised, the new release of this library for www.bulksms.com now contains support for all of its international sites including UK, Europe, USA, South Africa and Spain. I''ve also added some documentation to this release. Home page/documentation: http://net-sms-bulksms.rubyforge.org/ Rubyforge: http://rubyforge.org/projects/net-sms-bulksms/ CHANGELOG * 0.2 Added CHANGELOG and a
2006 Feb 21
26
Net::SMS::BulkSMS 0.1
This is the first release of a new Ruby library for the www.bulksms.co.ukAPI which should allow simple integration of SMS functionality into your Ruby or Rails apps. Sending a message is as simple as: @service = Service.new(''username'', ''password'') @service.send_message(''This is my message!'', ''4479123456789'') # whats my
2007 Jan 20
0
Rails can't find my Rake Tasks
Hi, I''ve added some rake tasks to my rails project but on my production server, rails is not finding the tasks. On my dev box however, rails finds them no problem. They are located in the lib/tasks folder in a file ending in .rake. I do a rake -T and nothing shows up for it. There are a lot of other tasks that show up though. My production server is Redhat where as my dev is Windows
2006 Mar 05
2
Is Rails getting testing semantics wrong and making things confusing?
Yes, I believe it is and I think it is dangerous, and confusing to people new to the concepts of testing. I''ve mentioned a point similar to this on here before, but with the announcement of Rails "integration" test, I''m worried that somebody somewhere is getting their types of tests worryingly mixed up. Lets start with what we had in the beginning...unit tests (for
2006 Jun 07
9
Unobtrusive Javascript for Rails
I made a brief post on here the other day about this and now I can proudly present the initial release of our unobtrusive_javascript plugin for Rails. We''ll be working with Dan Webb of Vivabit to roll in much of the functionality in his own as-yet unreleased unobtrusive_javascript plugin into a single plugin. This is essentially a preview release and probably not suitable for use on a
2012 Dec 04
0
Empty test suite is run after every rake task
When I run rake db:migrate or rake -T I get these lines at the end: Finished in 0.000276 seconds. 0 tests, 0 assertions, 0 failures, 0 errors My Gemfile is: source ''http://rubygems.org'' gem ''rack'' gem ''rails'', ''3.0.9'' gem "acl9", ''0.12.0'' gem "fastercsv"#, :version =>
2006 Sep 05
0
can't use rake deploy with Capistrano
Hello, When I do rake deploy I have an error. As you can see, capistrano tryes to ln a dir that already removed (and I think that the directory is never created by capistrano). Before this command I made rake remote:exec ACTION="setup" that executed the following command: mkdir -p -m 775 /home/explicadores/apps/tutor/releases /home/ explicadores/apps/tutor/shared/system
2006 Mar 18
2
ANN: capistrano-runit-tasks 0.1.0
I''d like to announce the first release of capistrano-runit-tasks. This came about as I wanted to use runit rather than spinner/spawner/ reaper on my memory limited VPS but should be useable for any setup. From the README: This library extends Capistrano to allow processes to be supervised using the runit package. It replaces some of the standard tasks with runit versions and
2006 Nov 01
0
Is it possible to serialize capistrano tasks?
Hi all - I was wondering if it''s possible to serialize capistrano tasks (ie. one after the other on each server instead of simultaneously)? The reason I''m asking is that we deploy to about 20 servers and when running ''cap deploy'' it hammers are SVN server while it''s doing it. So, if it could serialize the ''svn co'' portion and then
2006 Mar 21
2
Capistrano: creating your own tasks
When I create a task within capistrano.rb I can call it using rake. When I create a task and put it in deploy.rb I can call it. Neither with or without the remote: namespace. Anyone have any insight into why it does not work? John Kopanas
2006 Mar 08
2
Rake error after installing Capistrano
After I uninstalled SwitchTower and installed Capistrano, I tried run rake --tasks and got the error message below: rake aborted! undefined method `namespace'' for #<Object:0x28a9258> ./rakefile:10 I''ve run "cap -A ." on my Rails application before running rake --tasks. The same thing happens when I overwrite my copy of deploy.rb. Hmm, what could be going wrong
2006 Mar 16
1
Problem with Rake ''remote_exec'' for Capistrano/Switchtower
Hi I''m trying to deploy an app from WinXP to a Linux host(Site5), and wondering if anyone knows the answer to this? I''ve got SwitchTower/Capistrano installed - seems to be fine. But when I try to "rake remote_exec ''remote_exec''" rake dies on me with a "Don''t know how to build task ''remote_exec''" message The
2006 Nov 04
0
Namespacing controllers
Sorry for the dup, but didn''t get a response with the first one, so I cleaned it up a bit in hopes of getting a response. There has been a couple of blogs (one posted at weblog.rubyonrails.com"Things you shouldn''t do in Rails") that are stating namespacing controllers are bad and that you should avoid using them. This idea does not sit well with me and am curious as