similar to: Path resolution change in 1.1.x?

Displaying 20 results from an estimated 100000 matches similar to: "Path resolution change in 1.1.x?"

2006 Jan 07
2
Functional tests with routes
Hi all, I''m trying to do a route test using assert_generates and running into a bit of trouble. The controller that I am testing is in a module - class Admin::AdminPortalController def index end end I want the user to jump to the AdminPortal/index action when they use http://myApp/admin, so I''ve put the following in routes.rb map.admin_portal
2006 Apr 08
2
Does anybody know what what is causing this console message?
This started, I think, after I upgraded to 1.1. trunk 508 $ruby script/console Loading development environment. /usr/local/lib/ruby/1.8/test/unit/assertions.rb:265: warning: already initialized constant UncaughtThrow >> Everything seems to work in the console, however. Keith -- Posted via http://www.ruby-forum.com/.
2006 Jan 20
2
Logging from a functional (or unit) test
I''ve tried any number of ways to output information to the test log from my tests, but nothing seems to work. Is there a setting someplace that I am missing? I''m just trying to do something on the order of logger.info "blah blah" from my test. TIA, Keith -- Posted via http://www.ruby-forum.com/.
2005 Dec 16
3
Adding methods to models
All, This is more of a theoretical question I suppose - I''m looking for what the consensus is for the "correct" approach in Rails/MVC. I have a standard security model where a User can have many Roles. There is a User model, a Role model, and in the db, a linking table, etc. Each role has a name as well as a category (say, name="waiter", category="restaurant
2006 Jan 03
5
RDOC and dot on mac
All, This is probably a bit more of a mac question, but here goes. (Admission: I posted this to ruby-talk as well....) I am trying to use rdoc -d to generate class diagrams on a mac running Tiger (OS X 10.4) for a rails app. I managed to get dot installed, but now am running into problems with dot looking for libraries that either do not exist or are apparently in the wrong place. I probably made
2006 Apr 24
1
A question of style - save vs. save!
A pseudo poll on AR error handling... With AR, you have the choice between the following: (1) if thing.save go_for_it else handle_the_error end (2) begin thing.save! rescue RecordInvalid => error handle_the_error end (3) override rescue_action_in_public (ala the recipes book) or do something homegrown, and then just thing.save! --- The questions are: -Which idiom do you use and
2006 Apr 06
4
Engines 1.1.1
Since a minor change in Rails (renaming the file that the version is stored in, namely) causes a bit of a hiccup for the Engines plugin, here''s a new release, full of bug fixes and other nice things. ALL users of Engines are advised to update their copy of the plugin to get these fixes. The Engines plugin is fully backwards compatible with Rails 1.0. Anyway - to update, please download
2012 Nov 13
2
XFCE4 group missing on Centos 5.x?
I had XFCE group installed and working on C5.8 32 bit. I have done a fresh installation using the C 5.5 DVD. I cannot seem to find the XFCE group now. Has this been removed from Centos 5.x ? TIA Keith ----------------------------------------------------------- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are
2005 Oct 11
4
Searching an attribute in a hmabtm relationship
(Nuby to Ruby and Rails...) I''ve implemented security using the login generator in a simple app so that I have a user table, a roles table, and a join between them (roles_users). All works as expected. I now need to check if a user has a specific role, but my approach is off somehow. Here''s what I''ve tried thusfar: user_roles = @session[:user].roles
2006 Dec 22
1
[Fwd: Re: missing /etc/aliases file]
Forgot to Reply All -------- Original Message -------- Subject: Re: missing /etc/aliases file Date: Fri, 22 Dec 2006 09:42:46 +0200 From: Kartagis <kartagis at kunduz.org> To: Keith Roberts <keith at karsites.net> References: <D2B43561-0BAD-440F-97C0-712616E1E560 at cox.net> <200612210856.40994.ml at awinkelmann.de> <64A0FED1-F20E-4D90-A0E9-0FE8A67DC0EC at
2006 Aug 03
14
What OS do you use for development?
Just out of curiousity, what OS do most of you use for development? Do you prefer to use WinXP to do your development, and then deploy to a linux server, or do you actually use some distribution of linux (Ubuntu, Debian, Gentoo, etc) for development? Thanks! -- Posted via http://www.ruby-forum.com/.
2016 May 18
0
Latest R-devel build failing on OS X
> On 18 May 2016, at 18:54 , Martin Maechler <maechler at stat.math.ethz.ch> wrote: > > >> Yes, the nightly build is broken in a similar, but different way. See below. >> Both seem to be readline related, so Frederick Eaton's patches, which Martin committed yesterday are the likely culprit. I had actually tested them and things seemed to work, but it was on a
2006 Jan 04
1
RxFax : Change FAX Resolution
Hello all, Can this be done ? Would setting the variable FAXRESOLUTION to a appropriate value affect this change ? > http://www.asteriskguru.com/tutorials/rxfax.html Variables connected with the application LOCALSTATIONID - used by to application to identify itself to the remote end LOCALHEADERINFO - used to generate a header line on each page REMOTESTATIONID - set by the application, the
2007 Mar 01
4
Cookie based session management problems
Edge has a change in default behaviour where sessions are stored as cookies instead of in the file system. This was a pleasant surprise when I synced up, fired up my app, and nothing worked. Ah, life on the edge. I''m sure I''m just missing something, but I can''t get sessions to survive the first redirect. I added the following code to environment.rb, based on
2012 Mar 17
2
Multpiple sound cards with ices client?
I was wondering is it possible to use the ices client with more that one soundcard under Centos Linux? I only want to stream one mono audio feed to icecast, but am already using the Line input of my sound card for something else, and the mic input might be far to sensitive. TIA Keith ----------------------------------------------------------- Websites: http://www.karsites.net
2016 May 24
0
Latest R-devel build failing on OS X
Thank you, Martin. I linked to your message in a comment here so maybe other people will know about that useful technique: http://singmann.org/installing-r-devel-on-linux/#comment-161 However, when I try it, I get an error: $ make make[1]: Entering directory '/home/frederik/pkg-tmp/R-svn-build/m4' make[1]: Nothing to be done for 'R'. make[1]: Leaving directory
2016 May 18
0
Latest R-devel build failing on OS X
Yes, the nightly build is broken in a similar, but different way. See below. Both seem to be readline related, so Frederick Eaton's patches, which Martin committed yesterday are the likely culprit. I had actually tested them and things seemed to work, but it was on a different machine and not a completely clean build. -pd ..... ranlib: file: libR.a(printf.o) has no symbols gcc
2006 Mar 29
6
Prototype Window Class 0.6
Hi I have just released a new version of my Prototype Window Class included modal windows and a lot of stuff that some people send me, thanks to all of you guys for your support. Seb
2011 Feb 14
2
Icecast startup script for Centos 5.5
Thanks Keith for the pointers on icecast and ices-cc installation how-to. I followed the instructions and completed the two installations in no time. Once, the two programs are installed on CentOS, what's next. Lend a guiding hand to an eager newbie. And keep those straight guidelines coming, please. TIA On Sun, February 13, 2011 17:14, Keith Roberts wrote: > On Sun, 13 Feb 2011, Huw -
2006 Feb 02
1
First Houston RoR Meetup
A few of us have decided to meet in Houston to try to kick off a Houston Ruby/RubyOnRails group. If you are in town and would like to drop in, we are meeting at The Daily Grind on Washington Ave. at 10:00AM Saturday 4 Feb. ( http://houston.citysearch.com/profile/41420997/) Keith Lancaster -- Posted via http://www.ruby-forum.com/.