Displaying 20 results from an estimated 10000 matches similar to: "appending to a restful resource a custom format"
2005 Dec 14
1
WineTools 0.9 III released
Hello,
I just released the new version WineTools 0.9 III. There have been
bugfixes in the installation routines of RPM and tar.gz versions.
wt0.9jo-III 13.12.2005 error corrections in install-files
no confusing info screens with debian wine anymore
waitforwineexit() i18n-able
all references
2009 Feb 09
2
dynamic constant assignment
I have a constant set up like that :
ALL_LOCALES
=> {"it"=>"Italian", "fr"=>"Français", "de"=>"Deutsch", "en-
GB"=>"English (UK)", "es"=>"Español (España)", "pt-PT"=>"Português",
"pl"=>"Polski", "en-US"=>"English
2004 Apr 28
5
Asterisk goes international :-)
During the recent week, we've worked hard to add more of the contributed international
support to Asterisk. A big step was taken yesterday when Mark added international support
for saynumber() to CVS. We now have a first version of support for
* Danish
* German
* English
* Swedish
* Norwegian
* Portuguese
* Italian
* French
All of these require that you add your own sound files. There are
2009 Sep 30
1
2 RESTful controllers for the same resource
Hi everyone I want to have two restful controllers for the same
resource (Users)
One controller (UsersController) is straight in the controllers folder
and is used for singup and so on
Then i need another controller for users which is inside an admin
folder (Admin::UsersController)
In my routes.rb i have
map.resources :users
# Sample resource route within a namespace:
map.namespace
2009 Sep 29
0
Problem with RESTful resource and ActiveScaffold
Hello everyone,
I am trying to use a RESTful controller for user inside a namespace
using AS and one outside for registration and so on. When i try to
visit the namespaced url I get Unknown action. Once i replace
active_scaffold :users with a def index; end i can the URL.
My routes look like:
map.register "register", :controller => "users", :action =>
"create"
2012 Dec 15
3
Cannot build custom locale with utf-8 charset
I am trying, without success, to compile a custom locale for the utf-8
character set. I have issued this command:
localedef --no-archive -f UTF-8 -i
/usr/share/i18n/locales/en_CA at yyyy-mmm-dd en_CA at yyyy-mmm-dd.utf8
which produces the requisite files without reporting an error but
which none-the-less insists on using the iso-8859-1 charset:
LC_ALL=en_CA at yyyy-mm-dd locale charmap
2013 Jan 21
0
Custom locale, LC_TYPE and urxvt
I have a custom locale in use on our system. Consequently, Xlib does
not recognize the default environment setting for LC_TYPE. To get an
urxvt window opened without encountering the locale error message I am
therefore constrained to use some variant of the following:
LC_TYPE=en_US.UTF-8 urxvt&
I would like to set LC_TYPE to a different value than LANG. However,
based on experiment it
2006 Mar 19
1
For developers and users
Hi folks...
WineHQ web-site isn't exaustive about "contributing to localized versions of
Wine".
[quote]
"If you're willing to register for work on a certain language, then please
sign up with us!"
[unquote]
OK... How?
However, I (hopefully) post my work here.
I wrote a WINE-xx/dlls/shell32/shell32_xx.rc in Esperanto and I updated the
italian one.
Regards
2006 Feb 16
1
ARI 0.06
ARI (Asterisk Recording Interface) has reached another milestone.
The project is starting to become a full featured user portal and
handle all the common errors that people seem to have. This release
supports:
call monitor page ? new features include column sorting and filter
small duration calls
in addition to the ability to listen
to call monitor
2018 Aug 08
3
Mount URL as cdrom/iso KVM/QEMU
Hi Folks,
According to the examples in http://libvirt.org/formatdomain.html#elementsDisks it should be possible to mount an iso /url as a cdrom, the example given is:
</disk>
<disk type='network' device='cdrom'>
<driver name='qemu' type='raw'/>
<source protocol="http" name="url_path">
<host
2001 Dec 07
2
[Possible BUG]: Wine-20011108
Hello, there
I've run into situation which looks like bug to me -
attached is the source and the executable, wich triggers
the buggy behaviour. The executable is compiled with
mingw32 cross-copiler based on linux and targeted to Win32.
The cross-compiler can be found at:
http://members.telering.at/jessich/mingw/mingwcross/mingw_cross.html
This is the output of the program being run with Wine
2012 Apr 30
0
custom lib for datepicker
Hi there,
I''m doing an own library to manage datetimes depending on locales, to
deal with the formats of datetimes. I actually overrides the default
assign methods to made strptime.
I''ve made the following:
http://ideone.com/PXYl8
something is wrong when trying to access on I18n.t, the scope is valid,
if I put a debugger outside that misterious loop it prints what is
2006 Jun 01
3
how can i redirect a person after a login
i built my own login system, but unfortunately, i am having problems
(ie, can''t really figure out how) to redirect a person back to the page
he was requesting before logging in...say, as the admin i want to edit a
certain message/logo, whatever, so i click on it, and i get redirected
to my login page. after the admin logs in, he gets redirected to the
homepage - i couldn''t
2009 Apr 18
1
RESTful Routing: Getting names of resources out of paths
Hello -
I''m trying to remain RESTful in a new application that I''m building, but
I''m not sure how to get the routes that I want. I''m trying to avoid
having resource names like "posts" and "comments" cluttering things up.
For example, for a resource that I designate:
GET example.com -> index
GET example.com/1 -> show, id=1
GET
2011 Sep 01
2
Custom ActiveRecord Error Message
I''m generating 3 models on 1 controller and i''m rescuing
ActiveRecord::RecordInvalid for validation errors, however 2 of the
models have the same attribute called "name", and if there''s an error on
that field, I wouldn''t know whether that belongs to model A or model B.
What then is the best way of modifying the error message of a validation
error
2007 Apr 30
1
CentOS 5 single DVD for i386 and x86_64
Hello,
I'd like to announce a release of a CentOS 5 DVD image, with i386 and
x86_64 installations.
This is an independent work, so please don't bother CentOS lists with
bugs related to the installer only.
Summary of changes:
* i686 and x86_64 install from a single dvd (automatic detection on boot)
* updates as of 2007-04-26
* no kdelibs-api-docs, openoffice.org, tetex-doc and most
2007 May 23
6
RESTful RESOURCE PARTIAL UPDATE
I have modified scaffolding code slightly to get three edit actions
and three update actions.
The requirement: to allow users to edit attributes for the same model
from seperate forms instead of one form, while using the given
scaffolding code and performing model validations. I am using
restful_authentication with the login email password validations
defined.
class users_controller
2007 Jan 31
1
RESTful Resources/ Caching Issue?
Hi,
I just ran into a bizarre problem when I put my site into production.
I have a resource (call it xxx), then I created with the generate
script.
I then set up page caching on the show action. But now in the
production environment, trying to call the edit action results in the
show page being retreived from the cache.
I''m assuming this has to do with the similarity of the URL
2006 Sep 17
0
[RFC] Nested Restful Resources + Polymorphic Associations
hi,
how to handle the problem addressed in this thread:
http://rails.techno-weenie.net/question/2006/9/6/nested-restful-resources-polymorphic-associations
is there any consensus on this? any comments, suggestions?
thanks,
_c
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2009 Mar 08
2
RESTful nested resources and polymorphism?
With ref to my previous post: http://www.ruby-forum.com/topic/180356
I am now able to access items from topics controller. However, now I
need to add sub-item e.g.: An item itself could have many sub-items. So
my items model is like:
class Item < ActiveRecord::Base
validates_uniqueness_of :title, :scope => [:topic_id]
validates_presence_of :topic_id, :title, :owner, :position