Displaying 20 results from an estimated 1100 matches similar to: "Resources and pretty URLS"
2006 Aug 08
1
Edge Rails snapshots without svn?
Is there somewhere that I can get daily edge rails snapshot packages
via "normal" HTTP (i.e. not svn)? I''m behind a pretty restrictive
proxy which screws with svn commands, so if anyone knows of a
different way to get the latest snapshot of edge rails, please let me
know.
Thanks!
2007 Jun 19
1
singular resource paths
I am working on an application where I have the urls setup like this:
http://www.foo.com/jdhale
where jdhale is the username for the user. I do this with a plugin
called resource_hacks. Other than some weird errors when calling some
url generator methods on nested resources, this works fine. However,
I get the impression that using resource_hacks is no longer
necessary. So, my question is
2016 Oct 14
3
CentOS on new Dell
On Thu, Sep 29, 2016 at 9:18 PM, John R Pierce <pierce at hogranch.com> wrote:
> On 9/29/2016 5:55 PM, Michael B Allen wrote:
>>
>> It seems optical drives are gone. Do I boot the iso from USB or what's
>> the procedure now?
>
> yup, put iso on USB, go to town.
Mmn, that didn't work. I dd'd the latest Fedora Live iso onto a USB
drive, put it into a
2006 Aug 10
6
Multiple sites using one data source
Hi,
Just wondering if anyone has any suggestions as to the best way to
provide access to the same data source for the (possible) creation of
multiple web sites. I figure my options are:
- Direct database access over tcp
- ActionWebService
- Wait for ActionResource
I''ve done up some work with ActionWebService already, but I don''t think
it''s going to work because it
2006 Jul 31
3
Simply_RESTful and Bulk Import URLs
Hi,
I have a people controller, and want to import bulk import multiple
people from a CSV file.
In my routes.rb file I have:
map.resource :person
Now, it''s a little unclear to me how to further configure the routes to
allow me to add the following URLs:
I need a URL to choose a file to upload, so I need an HTML ''frontend''
for it, so I figured the following URL
2006 Jun 28
2
simply_restful plugin tests failing???
Has anyone successfully ran the simply_restful tests? Here is how I''m
running the tests and the first error. I''m I missing something here?
>rails test
>cd test
>rake rails:freeze:edge
>./script/plugin install simply_restful
>ruby vendor/plugins/simply_restful/test/routing_test.rb
Loaded suite vendor/plugins/simply_restful/test/routing_test
Started
FFFFF
2005 Nov 23
8
Compiler OR Obfuscator for RoR applications?
Hi folks,
I''m a newbie in the Ruby land, The Ruby language and RoR looks really
great but I think in my situation there is a problem, we are an ISV
that sells web application and we don''t want our clients see our
source code, I searched the web but couldn''t find any way to compile
and\or obfuscate ruby code (in web (RoR)), is there such tool
available for the language?
2006 Jul 19
2
SimplyRestful bug?
Hi I have my routes set up like this:
map.resource :contact, :path_prefix => "/employers/:employer_id"
so now when I view all contacts for an employer I go to:
/employers/1/contacts
That works. On that page, there''s a problem with the routes:
new_contact_url translates to: /employers/1/contacts/new ... so that
works.
But, contact_url(@contact) gives me
2006 Jul 22
12
Community request - can someone show me REST?
I mentioned this in another thread, but I''ve got a formal request now.
After reading tons of stuff about REST, I don''t really get it. I
need to see an example.
I''d like someone to write up an example blog app with these requirements
- RESTful using the simply_restful plugin (or edge rails)
- allows posting of comments to articles
- has categories for posts
No need
2005 Nov 21
3
New code: proposed release?
So I just wanted to review what most of my new code does for those
who are not familiar with it yet.
======
The biggest feature of my work is the docbook export. This means that
any valid textile markup can be exported to the docbook standard. I
added a new chapter tag to go along with the export.
ch. 1. Here is the title
In HTML, this will produce:
<h1>1. Here is the
2015 May 12
3
Resolving computeraccount$
Hi list!
Many questions are asked and answered about resolving user accounts. But
does winbind resolve computer accounts?
To elaborate some: it is perfectly all right to add computer accounts to
access groups and use them in ACLs on a share or folder. For instance
you would like a startup script to run on a client computer before a
user logs on. Or perhaps you would like a server (account)
2006 Jul 12
6
So what is REST? I don''t get how it fits in Rails
Does someone have an actual example of this? I saw DHH''s slides where
he said that you could have your app automatically respond with HTML,
XML, atom, whatever. So far I''ve found tons of discussion on REST and
CRUD in Rails, but I haven''t seen anything that actually shows me what
it all is. There''s simply_restful, which apparently makes things
easier...I
2004 May 28
1
TDM31B and Zaptel: FXO port not recognized?
I have a brand-spanking new TDM31B (3 FXS, 1 FXO) and when I start wcfxs
(the only module that recognizes the card) from Zaptel 0.9.1 I get:
Zapata Telephony Interface Registered on major 196
Freshmaker version: 63
Freshmaker passed register test
Module 0: Installed -- AUTO FXS
Module 1: Installed -- AUTO FXS
Module 2: Installed -- AUTO FXS
2008 Apr 07
3
installed app not in app menu; emule ports questions
Hello,
I'm brand spanking new with Linux and all of this. I've just recently installed Ubuntu, and I installed Wine.
I've just now attempted to install the latest version of emule into Wine, and it was easier than I expected. One thing though-emule didn't get added to the applications/wine/programs menu. How does one add programs to that menu? I had to browse the "c"
2006 Mar 07
1
Simple Question
Brand spanking new to Dovecot. Trying to move over to it, got a few
simple questions.
1) Is there any documentation on the .customflags file? Not sure what
this is for...
2) I'd like to make a directory for every user NOT be writable. Meaning
the email server (Exim) can put the mail down in the directory but a
user can no move an email into it through Imap.
I couldn't find a search
2015 May 12
2
preexec and msdfs proxy
On 12/05/15 20:27, Greg Enlow wrote:
> To the powers the might be,
>
> it seems that the "(root) preexec" function does not work when used with "msdfs proxy". Is that just "my" problem, an error or by design?
> If it is by design, I would be curious to know why.
> If it is an error, can it be addressed fairly quickly?
> If it is none of the above,
2006 Jul 09
1
REST Interface
Is the REST Controller (for calling APIs through the REST interface)
already built-in ?? Or, I have to generate one -- generate controller
rest ??
MSN id: ICEMANyears@netscape.net
--
Posted via http://www.ruby-forum.com/.
2006 Jul 23
2
REST controller with up and down for model that acts_as_list
Hi,
I have the following models
class Department < ActiveRecord::Base
has_many :products
end
class Product < ActiveRecord::Base
belongs_to :department
acts_as_list :scope => :department_id''
end
When I look at a list of products for a particular department I have
up and down buttons to re-order the products. Currently my controller
is something like this
class
2006 Apr 03
3
render :partial + redirect_to :controller
This is of course disallowed, which I discovered only after nearly
completing my spanking new ajaxified UI. What is the motivation behind
this, and what is the best workaround?
This UI does a scriptaculous drag-and-drop of items from a first div
(div1) over to a second div (div2), which triggers the contents of div2
to be updated to reflect the drop. No prob, thus far. But then the
2007 Apr 19
1
AudioCodes MP-104 MGCP?
Greetings;
We are trying to get Asterisk up and happy at our site-we tried VOIP
using Sphere about a year ago, spent a *boodle* on expensive hardware
and services from a local "expert", but it never was happy.
I'm brand-spanking new at VOIP, and I've learned a *ton* getting
Asterisk breathing in the last couple of days. I have three Polycom
Soundpoint IP 500 SIP phones, which