search for: wouldn

Displaying 20 results from an estimated 3695 matches for "wouldn".

Did you mean: would
2018 Feb 23
6
RADIUS
...titutions all round the world and use their networks seamlessly. > How useless and infeasible indeed. Well, this country is almost the worst of all countries around the world when it comes to internet access. Though they list a few locations here where you supposedly could use their service, I wouldn?t expect anything. Then there?s the question of protecting your privacy. For example, how much do they pay you for allowing them to keep track of your travels? In any case, it wouldn?t do our customers any good because there aren?t places all over the world where they could use our network. &gt...
2009 Aug 06
6
Maddening error: "marshal data too short"
I''m occasionally getting an odd Rails error that says "marshal data too short". Our entire web app seems to be working fine -- we can post forms, save models, redirect, login, etc, without any problems. Then out of nowhere a request will result in the 500 error "marshal data too short". Subsequent requests to *any* page then result in the same error -- even pages
2009 Oct 19
9
Can (should) each :user have his own table?
...t of all the users (which I guess I''d want in addition to their individual tables), but is there a way to make it create an new table for each user? Would this even be the best way if my app allowed "followers?" Admittedly there''d be a ton of tables in my database, but wouldn''t it make it easier for indexing all of your followers messages? Any insight is greatly appreciated.
2006 Jun 20
8
Integrating multiple applications
...upport ticket app, some other custom apps) that I want to integrate into one site. They will all use the same layout for the most part, and will link between each other. When I initially thought of doing this, I figured if I put the apps at different roots - /billing /support etc - then the links wouldn''t work at all, because they''d have the app root prefix. Also I didn''t know how to manage the layout. I ended up just creating one monster app, because I needed to get it out quickly...but it really really sucks to have it be a monolithic beast when it really is three se...
2008 Aug 11
1
Confused about square bracket usage.
...xt and have been reading on the generated code in my spare time in an attempt to fully understand rspec. It mostly makes a lot of sense except for the square brackets in the snippet below. To my best understanding, [mock_page] would be an array containing mock_page. That almost makes sense, buy why wouldn''t the variable mock_page simply be an array like @pages. You wouldn''t say [@pages]. I can''t get my head wrapped around the syntax. Thanks in advance. pages_controller_spec.rb def mock_page(stubs={}) @mock_page ||= mock_model(Page, stubs) end describe "re...
2007 Nov 03
4
Mongrel Cluster: Rolling restart?
Hi all, Forgive me if this has been asked before, but is there a reason mongrel_rails cluster::restart stops all ports and then restarts them again? Wouldn''t it be better to restart each port one-by-one in series so that upstream proxy servers can fail over while the restart is occurring, or am I missing something? Thanks, eden
2008 Jun 04
8
Shared File System
I have a few cases where I need to share a filesystem (Read/Write) with multiple DomUs. Currently I use NFS to accomplish this task. However, NFS on Fedora 7 locks up under heavy traffic from time to time, forcing a reboot. Wouldn''t want that on the Dom0. Any one recommend a good way of sharing a file system in read/write with multiple DomUs? -- View this message in context: http://www.nabble.com/Shared-File-System-tp17615045p17615045.html Sent from the Xen - User mailing list archive at Nabble.com. ___________...
2004 Aug 10
6
why ADD_DNAT_ALIASES missing?
...from the default firewall intyerface than i can use ip:<digit> where the digit is the alias number. since dnat is in the rules it can be used from there. eg: if would like to dnat all connection from the internet to an internal machine, that i do: DNAT net loc:$INTER_IP - - - $EXTER_IP but i wouldn''t like to add it to the nat file: $EXTER_IP eth0:5 $INTER_IP since i wouldn''t like that the internal machine to be able to directly connect out to the internet, which is the case in the nat file. am i miss something? but in this case i''m not able to define that the first...
2006 Mar 03
4
code conversion tool
Hi is there any tool / utility which can convert code from php to ruby ? thanks --------------------------------- Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/6f5e6c25/attachment.html
2005 May 18
1
cvs commit: src/usr.bin/make job.c
...ssibilities for a DOS in the case of an owned account (fork-bomb, allocating all memory, generating as much files as possible, ...; some of them can be limited with resource limits, but not all), so hardening make would be a nice goal, but in my opinion not a goal we need to persuade today since it wouldn't buy us much. But feel free to come up with some good arguments which I haven' thought of. Bye, Alexander. -- http://www.Leidinger.net/ Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org/ netchild @ FreeBSD.org : PGP ID = 72077137 Great acts are made up of s...
2009 Nov 25
5
How to sum only a few elements in a line
Hello, I have a matrix with the numbers 0,1 and 9 I would like to write a function that could sum each line skiping everytime a number 9 appears for example [0 1 0 1 1 9 1] the sum would be 4. However I cannot replace 9 by 0 otherwise after the sum is done I wouldn?t be able to distiguish which ones were real zeros and which ones were nines replaced by zero just to sum. Thank you very much -- View this message in context: http://old.nabble.com/How-to-sum-only-a-few-elements-in-a-line-tp26519740p26519740.html Sent from the R help mailing list archive at Nabb...
2005 Mar 02
2
Validation question
Hi all, I have something like this : user has_many lists list has_many items I want to validate that the currently logged-in user is the owner of the list an item is being added to. I can do it in "item/create" by doing something like : class item def create @list = List.new( @params[ "list" ][ "id" ] ) if @session[ "user"
2008 May 06
3
Capistrano: chmod 600 database.yml
Would it be wise to chmod 600 your database.yml file using Capistrano when deploying seeing as it contains your mysql db in plain text? ~ Mark -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2009 Oct 06
7
rails: command not found on Debian lenny
I installed ruby gems from their website and installed rails using gem install rails I got a successful installed notification. But when I tried to use rails command, it gave me command not found. After I installed gems. I had to create a symbolic link otherwise gem command wouldn''t work. Anyone know how to get rails to work? Thanks!!
2008 Jan 15
4
popen woes
...ve that is equally secure yet > EM-friendly. > > Any ideas? System V IPC comes to mind, but it''s not Tcl-compatible, > and it''s a pretty baroque workaround. :( Just a quick sanity check... If a mode 600 file isn''t safe from prying eyes on the target system, wouldn''t that seem to imply that untrusted users have the same UID as your "worker program" and "Expect script" ? If untrusted users do have that UID, then isn''t all the RAM of all processes running under that UID also visible to them? (If so, then I''d thin...
2007 Nov 11
8
Autotest with rspec HTML output
...tput. I really like how in the rspec textmate bundle the context of the failing code is inlined with the failing spec along with the exact line highlighted and a link to the exact spot in reference. However, I rarely use this nice output since autotest is so convenient... So, I was thinking wouldn''t it be great to have the best of both worlds? What do you think? And before I try and do this, has anyone else already done it? -Ben
2006 May 12
8
switching from development to production?
I think I''m missing a step here, but they don''t seem to cover this in the AWDWR book... does anybody know the various steps required to switch from development to production mode in Rails? I''ve scoured the application and changed everything that stands out, but the damn thing is still running off the development database and won''t connect to the production
2007 Dec 05
5
Reporting / determining state of nodes
...to determine the state of all nodes. Say for example that I change a file on the puppetmaster which affects 200 nodes. Then I go to lunch. When I get back, I''d like to know which nodes have been updated and which have not. I asked this in the IRC room, and one user responded, "why wouldn''t it have updated them all"? It''s really not fair to make such an assumption. Nodes may be down for repairs, some other sysadmin may have shut down the puppet daemon, there are many possibilities. My point is that in virtually all cases a "set it and forget it" m...
2005 Dec 16
3
Using :include "recursively" (including the children of the child)?
..., :group, :phones]) I get an association error (Association was not found). I guess it happens because AR is looking in the Location model for the Phones association, which only exists in the School model (I also tried singular, :phone). Is there any way I can load all Phone records at once? I wouldn''t mind using custom SQL if that''s the only solution. Thanks in advance! Ivan V. PS: Merrrrry christmas!
2007 May 04
5
Problems with mongrel_cluster 1.0.1.1 on FreeBSD
I''m running FreeBSD 6.1 and installed the 1.0.1.1 mongrel_cluster prerelease. I had a problem with the mongrels not stopping, and it turns out it''s because ps is reporting my processes as just [ruby18] instead of someting more like "mongrel_rails start -d ......." Not sure why it''s doing that, but it is. Any ideas? For the time being I just changed line