Displaying 20 results from an estimated 300 matches similar to: "[RFC] Multi-language rails"
2005 Sep 06
6
strange behavior of acts_as_taggable
I was testing my models with this new library and I got:
>> s.tag "warp"
ActiveRecord::StatementInvalid: ERROR: inserción o actualización en la tabla
«tags_stories» viola la llave foránea «tags_stories_story_id_fkey»
DETAIL: La llave (story_id)=(8) no está presente en la tabla «stories».
: INSERT INTO tags_stories ("tag_id", "story_id") VALUES
2005 Oct 15
14
OT: Anyone Using a Time Logger?
I have multiple projects and it''s important for me to track time by client
and by project. There''s a Windows application that allows me to do this, but
I''m looking for a cross-platform solution.
I looked at ConsultComm but it wouldn''t install on my Mac. Rather than
rewriting what seems like a commonly-required app, I wondered if anyone else
had something they
2007 Jan 19
1
Trouble with Rails/Ri18n
Hi,
I am new to Ruby/Rails but totally fall in love with :D
Nonetheless, today I am totally stuck with Ri18n. I basically followed
the 10 Steps to Make Your Rails Apps Multilingual. No errors are
thrown,
the english version works as before with the freshly added <%= _('''') %>
Still, no translations are performed. Setting I18nService.instance.lang
= ''de''
2005 Dec 16
0
getting the ri18n to dynamically switch locales without restarting webserver
I have a situation where i got my app working with ri18n using these
instructions <http://thread.gmane.org/gmane.comp.lang.ruby.rails/16703> .I
want to find out how to get the app to switch languages dynamically,
For one language at a time it works perfectly without any errors or bugs.
This is particularly because i am new to ruby and rails.
_______________________________________________
2006 Dec 15
3
Problem Joining an XP CPU to Samba Domain
Hello,
I have an XP (SP2) CPU that has just been reloaded with the OS (hard drive
was reformatted).
The NIC works and I can access the Internet with no problem.
When I join the CPU to the domain (there are many other CPUs already on this
domain), it joins.
After the mandatory reboot, if I try to log in using a domain account, I get
an error saying the username and password are incorrect. I
2006 Nov 28
1
link_to and url_for in ActionMailer
I am new to ActionMailer and having a problem.
I want to be able to send a notification e-mail when a new item is added
to a list. Sending an e-mail to the right people on creation is working
fine.
However, I want to include in the e-mail a link to the application so
that users can click on the link in the e-mail and immediately be taken
to the show view for the new item. When I add a link_to
2006 Aug 25
1
Reload instance data on instantiate
I''m working on a website which interacts with Amazon web services.
I have an Item class which is a cache for amazon items. I''d like to
have the class instances to refresh data every day (Time.now -
item.last_updated > 1.day) but not sure how.
I''ve tried with
class Item < ActiveRecord::Base
# ...
private
def instantiate(record)
super
2004 Mar 07
1
strace hard lock
Topic: strace casues hardlock. no kernel panic. userland tool
Category: kernel
Program: strace
Affects: FreeBSD releases 5.x and later.
problem: When a normal user (or root user) users strace on certain
binarys, the system will hardlock up, with no kernel panic. (numlock
doesnt turn on and off, no ssh or console access). Im using strace from
the ports
2022 Oct 29
3
[PATCH] drm/nouveau/mmu: fix use-after-free bug in nvkm_vmm_pfn_map
If it failed in kzalloc, vma will be freed in nvkm_vmm_node_merge.
The later use of vma will casue use after free.
Reported-by: Zheng Wang <hackerzheng666 at gmail.com>
Reported-by: Zhuorao Yang <alex000young at gmail.com>
Fix it by returning to upper caller as soon as error occurs.
Signed-off-by: Zheng Wang <zyytlz.wz at 163.com>
---
2005 Oct 01
0
How to customize build-in messages into i18n?
Hi Railer,
I''m developing a multilingual website by rails.
I choose ri18n to customize i18n messages.
However, for messages which are generated from build-in methods, such as
ActiveRecord validation error message, time_ago_in_words() ...
Any suggestion how to make these build-in message multilingual?
Thanks.
Gary
_______________________________________________
Rails mailing list
2012 Mar 20
1
errors in logs - kernel: XFS (dm-7): xlog_space_left: head behind tail
Hi.
I have a CentOS 6.2 virtual machine in a vmware ESXi 4.0 host 4G Ram 4
virtaul cpus and with about 4 TB of disk space formatted with XFS .
I'm seeing a lot of :
Mar 21 10:49:42 nzhmlfpr05 kernel: XFS (dm-4): xlog_space_left: head behind tail
Mar 21 10:49:42 nzhmlfpr05 kernel: tail_cycle = 129, tail_bytes = 20163072
Mar 21 10:49:42 nzhmlfpr05 kernel: GH cycle = 129, GH bytes =
2013 Nov 05
1
ocfs2: why not set EROFS when clearing bits multiple times
In ocfs2_block_group_clear_bits, when num_bits != bits_cleared, it just
log an error message without setting EROFS.
The code is below:
/*
* If encountered, it means we are clearing bits multiple times. While
* we are handling the case, we still need to be alerted to its
* occurrence. Hence, marking it as an ERROR and not NOTICE.
*/
if (num_bits != bits_cleared) {
mlog(ML_ERROR,
2007 Sep 05
1
Openssh4.6p1 Make tests failed in sftp
Hi All,
After configuring and compiling OpenSSH version 4.6p1 in my SUN Solaris8
ultrasparc machine, I run "make tests" and got the following errors. The
compiler used is GCC3.3.
run test sftp.sh ...
test basic sftp put/get: buffer_size 5 num_requests 1
sftp failed with 1
test basic sftp put/get: buffer_size 5 num_requests 2
sftp failed with 1
test basic sftp put/get: buffer_size 5
2005 Aug 13
9
Multilingual Rails v0.6
Multilingual Rails v0.6 is released!
Here is the changelog. Documentation and download at the homepage:
http://www.tuxsoft.se/oss/rails/multilingual
v0.6 - 2005-08-13
* String case-manipulation functions replaced with ruby-unicode
equivalents (if ruby-unicode is installed):
String#downcase, String#upcase and String#capitalize now fully
handle Unicode.
* String normalization
2023 Mar 07
1
[PATCH] drm/nouveau/mmu: fix use-after-free bug in nvkm_vmm_pfn_map
Actually - could you resend this with dri-devel at lists.freedesktop.org added to
the cc list just to make patchwork happy?
On Sat, 2022-10-29 at 15:46 +0800, Zheng Wang wrote:
> If it failed in kzalloc, vma will be freed in nvkm_vmm_node_merge.
> The later use of vma will casue use after free.
>
> Reported-by: Zheng Wang <hackerzheng666 at gmail.com>
> Reported-by: Zhuorao
2023 Mar 07
0
[PATCH] drm/nouveau/mmu: fix use-after-free bug in nvkm_vmm_pfn_map
Reviewed-by: Lyude Paul <lyude at redhat.com>
Will push upstream in a moment
On Sat, 2022-10-29 at 15:46 +0800, Zheng Wang wrote:
> If it failed in kzalloc, vma will be freed in nvkm_vmm_node_merge.
> The later use of vma will casue use after free.
>
> Reported-by: Zheng Wang <hackerzheng666 at gmail.com>
> Reported-by: Zhuorao Yang <alex000young at gmail.com>
2013 Nov 13
2
Cannot receive from specified address Unauthenticated senders not allowed
On trying to run a rake task via crontab, I''m getting the following error:
rake aborted!
550 Cannot receive from specified address <help-+zpghU0kKgY@public.gmane.org>:
Unauthenticated senders not allowed
/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:129:in
`block in deliver!''
2003 Apr 15
1
current cvs
hi,
so after upgrade to the current cvs all of our problem disappear:-)
but we don't have time to test the ssl part...
although after I compile and install the new dovecot I stop it I do a
--------------------
find /home/*/Maildir -name '.imap*' -exec rm {} \;
find /home/*/Maildir -name 'dovecot-uidlist' -exec rm {} \;
find /home/*/Maildir -name 'msgid.cache' -exec rm
2005 Aug 10
24
Multilingual Rails v0.5. Big update!
Multilingual Rails v0.5 is just released with lots of new features.
Here is the changelog:
v0.5: New charset conversion string-methods. Multilingual Rails
always use UTF-8 internally.
iconv_to(charset) # Return string as charset
iconv_from(charset) # Return string as UTF-8, converted
from charset
iconv_from!(charset) # Convert string from charset to UTF-8
2006 Aug 16
3
Gigabyte recent bios & syslinux extlinux trow USB-IDE bridges or pendrives
Hello list, I'm having problems with newest BIOS updates from Gigabyte to my
Mother Boards, they don't want to boot syslinux, extlinux y usb-hdd mode.
Then I need to know if someone else are having same problem, and can send me
the Mother Board versions and bios versions to report as a bios bug.
this is from the support, I'm awaiting for answer.