similar to: Routing - newbie question about shorting the url

Displaying 20 results from an estimated 700 matches similar to: "Routing - newbie question about shorting the url"

2006 Jan 08
2
sorting issue
I''ve got the following setup: category (hm) <-> (bt) activity An activity has an amount, date, location, note, and category. I''m sorting my activities table by category_id (foreign key in activity), but how do I sort it by category_name instead? Basically I just need category_name in the result set. Here''s what I have now: @all = Activity.find(:all, :order
2006 Apr 21
6
How access to the tables whitout a model
i have a table called Products whit a model product, but in the view i need show the category od the product, but whitout a model of categories... -- Posted via http://www.ruby-forum.com/.
2006 Jul 28
11
Forum
Im making forum and i have problem with paths. Here is code: http://pastie.caboo.se/6389 With this code, it works. But its a bit weird to use so many paths function. For every path i need to make new function. So can you suggest me something. Tables are like here: http://wiki.rubyonrails.com/rails/pages/ForumExample -- Posted via http://www.ruby-forum.com/.
2006 Jul 07
9
Search on data accross many tables, linked by belongs_to
I am using Ferret and acts_as_ferret, as my search back-end for my Rails project. I have a question about using acts_as_ferret on a main table that is linked to other tables by foreign keys. Is there a way to include the information linked by the belongs_to keyword in the search results ? As an example, let''s say I have a main table ''posts'':
2004 Jul 20
1
Question about permissions
Hi, First of all, my apologies for the extension of this message, but it is needeed for you to undertand my problem. Straight to the point: i have this domain in my company running in Samba 3.0.2 My users are: hcoelho, jardim, gamito, yesenia, smatias, fqueiros, faugusto, vamaro, peixinho, aragao, dina, pinho. I have this shares with the users that can access them and the correponding Linux
2013 Jun 04
3
Administrative mailbox deletions
I'm in the process of nuking a bunch of dead mailboxes after they've been migrated to other servers - but the accounts have been kept. A simple shell script takes care of most of it, BUT.... (there's always a "but" isn't there?) One user has named all his mailboxes with leading hyphens. ie: -foo -bar -bazz and "doveadm mailbox delete" doesn't like it.
2012 May 23
2
Secure VNC access from iPad
Dear Gurus If any of you have been successful in using an iPad as a VNC client with SSH tunnelling, I'd love to know how it's done. I have tried using the iSSH application, but without success. I know that the server is accessible from a Windows client (using TigerVNC), via an SSH tunnel, so the server is properly configured. If you have a working example, please let me know what
2012 May 29
1
wbinfo -u - Error looking up domain users
Hi People ?,? I have this configuration in my samba?s server and when I use this command : wbinfo -u This message is showed : Error looking up domain users. I need find AD users to use samba. Thanks in advance,? Eugenio,? wbinfo --sequence SV0-SP : 1 BUILTIN : 1 LIVROS : DISCONNECTED REDE_SP : 4516361 smbclient -L localhost -U% Domain=[REDE_SP] OS=[Unix] Server=[Samba 3.0.10-1.4E.9] ? ? ?
2006 May 11
3
Find By ID
Hi folks, Newbie with ruby on rails but very excited by the features provided by the framework ;) Suppose I''ve got a table ''Company'' and a table ''Category'' Company belongs to a category but I will retrieve the Catagory in the Company list? It seems that I don''t have the basic ruby wau of thinking to get this easily. Can someone help?
2005 Aug 26
1
Problem Mappig Groups to shares
Hi list, I have a problem here that's make me insane... I have to make a share only available to persons in a group, it means that the directory have to be 0770 permission o Linux, right? Here is my situation: I use samba with LDAP, and everithing is working fine. With smbldap-tools, I created the group and with <net groupmap list> I see that it maps rigth to Unix Group: grupoteste
2016 Jun 15
1
weird error rights in folders
Hello rowland, follow the informations: 1) ./configure --prefix=/opt/samba --enable-selftest --enable-debug 2) samba-tool domain provision --domain=CMC --adminpass=Mudar2016 --dns-backend=BIND9_DLZ --server-role=dc --use-rfc2307 --realm=CMC.CORP 3) I created a script to start this as described in the manual Samba4 [global] netbios name = SAMBA realm = CMC.CORP
2005 Feb 07
2
How to number extensions - Which way is best?
If this topic has been discussed already, please point me to it. I have looked, and I don't see any discussion in the past couple of months or in the wiki. When setting up your inside extensions, it can be helpful to choose the numbering carefully. Ideally, you would like it to not conflict with the dialing of an outside number. For example, the extension... 1212 Is very similar to
2010 Mar 07
1
Grandstream HT 503 Outoing 403 Forbidden
I am trying to get Asterisk 1.6.2.5 working with a Grandstream HT-503 ATA. The FXO part is giving me fits. Every call I try to make to the FXO port outbound I get 403 Forbidden coming back. I've been through every configuration setting I can see, and Uncle Google is not helping me much. I updated the firmware to the current version, and that didn't help. If anyone has this working, I
2020 Oct 23
1
Sieve_before
On 23 Oct 2020, at 05:20, @lbutlr <kremels at kreme.com> wrote: >> Like I said, I?m not 100% sure, but I suspect if you add * to the end: >> if address :matches ["To", "Cc"] ["*@*.*"] { > Thanks for the advice, I will definitely give that a go, Excellent! That was the secret sauce! Thank you! -- Hard work pays off in the future. Laziness
2004 Sep 10
1
Monkey Audio Open Source?
--- Mark Powell <M.S.Powell@salford.ac.uk> wrote: > Thought this may be of interest to this list: > > http://66.96.216.160/cgi-bin/YaBB.pl?board=general&action=display&num=995374789 > > Down the bottom the author of Monkey's Audio claims he's going Open > Source. that would be great... the list of usable OS audio codecs is pretty small and more sharing of
2007 Aug 06
4
acts_as_ferret cross model index not updating
Does anyone know how do you get acts_as_ferret to automagically update non-standard fields? I''ve followed Rails Envy''s tutorial (http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial#nonmodel) to get aaf working across different models. And once the index is built it searches fine. In my (main) model, I''ve put: acts_as_ferret :fields => [ :name,
2005 Sep 10
1
Printing in Wine 20050725
I have just reinstalled wine on my Debian Sid (unstable) system after several years without it, in order to run a handful of Windows applications: IE, Lotus Notes, ... I use CUPS to support printing under Linux, and several years ago had no real problems printing from Windows applications running under Wine. However, I am now unable to print from any of them using Wine release 20050725. When I
2010 Apr 20
1
Serial connections?
Does anybody know if there is any support to read from serial ports? I just got an arduino, and wanted to write some scripts for working with real time streaming sensor data... In base::connections documentation, it's not clear if there's an easy way to do this? Any ideas on hacking it? I'm open to win/linux/mac solutions. I'm not sure how sockets work, but possibly there is a
2013 Jul 26
1
[LLVMdev] Building libLLVMSupport library - special tricks?
Duncan, Yes, I'd been pretty much performing the same diagnosis in parallel - it seems we just don't have that libLLVMSupport library built. Last night, tried the build of clang a few different ways to get that library built - including specifying the --gcc-toolchain option. No Joy! Which of the clang/llvm source trees provides it? or is it in another source package? tools? Is there a
2012 Oct 08
1
Resource Scope
I can''t work this out and I''m getting frustrated. :( Puppet is complaining: err: Failed to apply catalog: Could not find dependency Lvm::Volume_group[bcvg] for Lvm::Application_volume[cache] at /truth/sauce/env/prod/modules/object_store/manifests/server.pp:47 Yet, if I comment out that line so that puppet runs ok, and then look at the state.yml file on the client, I see: