search for: redpath

Displaying 20 results from an estimated 50 matches for "redpath".

2006 Feb 21
26
Net::SMS::BulkSMS 0.1
...ervice.account.credits This is my first open source release ever, so I hope somebody finds use for it. I put it together as I needed SMS functionality for another forthcoming open source Rails app called SiteSeer which can be found on Rubyforge and is due for a first release soon. -- Cheers, Luke Redpath www.lukeredpath.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060221/d7ea6f65/attachment.html
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 attachment was...
2006 Jun 29
2
Random routing errors in 1.1.3 with Mongrel
...ck 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 problems since upgrading. Here''s the ticket: http://dev.rubyonrails.org/ticket/5551 Cheers Luke Redpath www.lukeredpath.co.uk
2006 Jun 05
1
Unobtrusive javascript...what if?
...able to find more information on http://opensource.agileevolved.com in days to come, or stay tuned to my blog tomorrow for more. Apologies for the blatant promotion but we think people will like this. People have asked for unobtrusive JS in Rails for a while. Could it be here at last? Cheers Luke Redpath http://www.lukeredpath.co.uk http://opensource.agileevolved.com
2006 Feb 18
4
verifying best practice
i have a Project model, which belongs_to :user when i add a project, the users_id is based on the session[:users_id]. to get the users_id into the projects table, i''m doing this: @project = Project.new(params[:project]) @project.users_id = session[:users_id] this is working, i''m just verifying this is the best way to do it.
2006 Feb 19
4
is "display" a reserved name of some sort?
A view display.rhtml sees no controller state variables set in the corresponding display action. Why? -- fxn
2006 Feb 22
2
sudo in switchtower and security
I''m attempting to deploy a rails application using switchtower. My IT guys are refusing to give me sudo for a user changeable script. I really can''t argue with their logic. If I have sudo for a script that I can update, well, I can do most anything I want. They are suggesting I create a cgi that performs the same function. Since the cgi would run as www-data (this is a debian
2013 Jan 29
2
Broken physical size caching in Dovecot 2.1.10
...size() and appears to not consider whether a file is compressed or not when reporting it's size for S= value purposes. Can anyone help? I'm happy to provide parts of dovecot -n output if required, but I'd rather not post configuration in a public forum if it's not required. -- Rob Redpath Systems Administrator Heart Internet Ltd E: rob.redpath at heartinternet.co.uk DDI: 0115 845 6643 www.heartinternet.co.uk<http://www.heartinternet.co.uk> ****************************************************************** This email and any files transmitted with it are confidential and inten...
2006 Jun 29
6
Naming Convention for Controllers?
Hello! I just read DHH''s presentation pdf. In his examples, he wrote PeopleController instead of PersonController. I''ve been using singular words in controller''s name. Which is more common? Thanks. Sam -- Posted via http://www.ruby-forum.com/.
2006 Mar 04
13
Using helpers from controllers ?
There is a solution to use helpers from controllers ? I have an error : |undefined method `content_tag''| class ApplicationController < ActionController::Base def test return content_tag("a","test") end end
2006 Jun 07
9
Unobtrusive Javascript for Rails
...is 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 production site just yet but we hope it will be production ready ASAP. So here''s the important details! The blog post: http://www.lukeredpath.co.uk/index....ript-for-rails/ The documentation/information: http://opensource.agileevolved.com/...usiveJavascript The source: http://opensource.agileevolved.com/...avascript/trunk All comments and ideas are welcome. Enjoy! ** Apologies if this ends up here twice but gmail is acting up -- Po...
2005 Nov 16
19
Concerns over Rails' handling of tests
Sorry if this comes across as a bunch of disjointed thoughts...I''m just trying to put my thoughts down and I''d like to know what other people''s opinions on the subject are. I''ve been working with Rails for 3 or 4 months now and I''m constantly trying to look at ways of improving my testing techniques, especially when it comes to TDD. I have a few
2006 Mar 03
3
embedding a forum inside a rails app
what is the best way to embed a forum (phpbb is currently installed under /public/forums/) inside my layout ? I dont want the foum to be its own page i would like it to appear inside the main part of the page with navigation and border in tact. is this possible with the current way it is installed ? thanks adam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 18
4
validate against spaces
How would I go about validating against spaces (for urls) Instead I wish to use dashes. -- Posted via http://www.ruby-forum.com/.
2006 Nov 09
2
Focused Specs/Tests in Non-Textmate editors
Hello, I wrote a script that runs a focused spec/test from the filename and line number. I bound this to an external tool in my Idea environment. http://weblog.freeopinion.org/articles/2006/11/04/focused-unit-test-spec-script Brian -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 19
2
How far can you get without learning Ruby?
This has been my little experiment for the last few weeks. I jumped straight into rails after a few tutorials and have been using "Agile Web Development with Rails" as a reference. I picked up the Ruby syntax from examples which was not hard to do as I know various other languages. I''ve started 3 database driven web apps and all was going really well. Rails is fun and
2006 Mar 05
2
Is Rails getting testing semantics wrong and making things confusing?
...are several models that need to work together to produce results. To support the above the tests folder would probably look something like this: unit/models unit/controllers acceptance/ integration/ fixtures/ I''d like to hear people''s thoughts on the above. -- Cheers, Luke Redpath www.lukeredpath.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060305/f6b7b937/attachment.html
2006 Sep 13
2
Problem with RSpec and Mocha/Stubba
...il:NilClass Here''s the line where I''m trying to stub a method on an existing instance of an object: @connection.stubs(:logged_in?).returns(true) I''ve x-posted this to the Mocha dev list and RSpec dev list as I''m not sure where the issue lies. Cheers, Luke Redpath contact at lukeredpath.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mocha-developer/attachments/20060913/79b9a3f8/attachment-0001.html
2006 Feb 22
3
[OT] Curly Quotes on a Mac
There''s such a Mac-friendly group here, I thought I might get some guidance. I''m happily developing everything on my PowerBook, and loving it. Yeah, TextMate is way cool. But all my clients keep sending me copy in Microsoft Word format and the curly quotes, ellipses, dashes, etc. turn into question marks. This might be overreaching, but is there some way to open the Word
2007 Apr 12
4
Installing rspec in Windows
...g/var/svn/rspec/tags/REL_0_8_2/vendor/rspec_on_rails/vendor/plugins/rspec C:\Users\Nathan\Documents\rails\myproject> ruby script/generate rspec Couldn''t find ''rspec'' generator I have no idea if I''m doing this properly. I just followed the instructions on Luke Redpath''s site. I tried looking for something on rspec.rubyforge but couldn''t find anything. Any clues? -Nathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post...