Displaying 20 results from an estimated 4000 matches similar to: "remove association"
2007 Dec 24
5
output link_remote_to in helper
Hi all,
I have a complex link_remote_to link I need to generate often. I want
to DRY up my view and create a helper that generates this
link_remote_to for me.
Is there a way my helper can output the link_remote_to javascript?
Thanks
STijn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Nov 27
1
routing
Hi all,
My site uses subdomains to define an item. Eg http://itemname.mysite.com
I fetch the itemname and render the appropriate site from that
itemname. The subdomain is used everywhere (eg http://itemname.mysite.com/events,
http://itemname.mysite.com/products/show/11, ...)
I now want to give the user the possibilty to use a ''real'' domain like
www.itemname.com that should
2008 Apr 18
5
show sum of textboxes
Hi all,
I have multiple textboxes containing numbers. I want to add up all the
numbers and show the sum. Can I select the textboxes by class and sum
the content?
This also has to happen realtime: when a number is changed ina textbox
the sum should also change.
can this be done?
regards,
Stijn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2010 Jul 28
3
Rails 3.0.0.rc // rails locales prevent app boot
Hi all,
I got the following error message when booting up my app (which works
fine with Rails 3.0.0.beta4) in Rails 3.0.0.rc;
activesupport-3.0.0.rc/lib/active_support/file_update_checker.rb:27:in
`stat'': can''t convert Array into String (TypeError)
When I put some debug code on that line I see the follwing array being
passed;
2008 Jan 21
7
undefined method error
Hello everyone,
I am following the Practical Rails: Social Networking
sites book. In chapter 7 photo gallery I am getting a
NoMethodError in Pages#show
Showing layouts/_menu.rhtml where line #12 raised:
undefined method `new_entry_path'' for #<ActionView::Base:0x52fa56c>
Extracted source (around line #12):
9: <% if is_logged_in? %>
10:
2007 Dec 27
6
ActiveResource and (polymorphic) associations
Hi,
I''m just playing with ActiveResource and I did''nt find anything about
the support of (polymorphic) associations.
Is there a support at all?
Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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
2004 Nov 18
2
how to rewrite this without a loop ?
Dear Rexperts,
First of all let me say that R is a wonderful and useful piece of
software.
The only thing is that sometimes it takes me a long time to find out how
something can be done, especially when aiming to write compact (and
efficient) code.
For instance, I have the following function (very rudimentary) which
takes a (very specific) data frame as input and for certain subsets
2007 Dec 10
10
Reading Hash/Array
Hi all,
My app is generating a form with several bill_items that should be
updated (fields to be updated are description and net).
The text_field_tag names are bill_item[update][#{id}][description] and
bill_item[update][#{id}][net] (and I added bill_item[update][#{id}]
[id] just in case)
The param received is:
{"commit"=>"Save",
2018 Feb 05
2
kmod c74 broken: howto report it
On Tue, Jan 2, 2018 at 10:10 AM, Akemi Yagi <toracat at elrepo.org> wrote:
>
> On Thu, Dec 7, 2017 at 6:23 AM, Stijn De Weirdt <stijn.deweirdt at ugent.be> wrote:
>> latest kmod update 20-15.el7_4.6 is broken on our systems, while
>> previous 20-15.el7_4.4 was working fine (and downgrading fixes the issue).
>>
>> the issue is with modules from mellanox
2007 Dec 13
10
Version naming to use in a RoR proyect
Hi everyone,
I would need to know if RoR follow any policy for version naming; I
mean, something like linux´s kernel does or similar.
For instance, kernel uses numbers separated in groups by dots (i.e.
pre 2.6 - AA.BB.CC). These groups mean differents fixtures, bugs
fixed...
I will start a big proyect from scratch with rails and I want to
choose now a standart to use and avoid future problems
2007 Dec 11
4
Lost in translation - Rails 2.0 Nested Resources, Custom Actions
The shift to the :has_many and :has_one options when defining nested
resource routes has me perplexed. The block format allows me to define
custom REST actions like publish in the example below:
map.resources :users do |user|
user.resources :articles, :member => { :publish => :put }
end
It also allows for multiple levels of nesting if necessary.
What I''d really like to
2008 Dec 18
5
distributing a rails application
What are the standard best practices for sharing your rails application
on the web?
As far as I can tell, you just delete the logs directory and clear out
the database.yml
What am I forgetting?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2008 Jan 21
13
has_many with different primary key
I''ve got quite the ActiveRecord challenge, any help would be
appreciated.
In my current project Companies can have many reviews.
class Company < ActiveRecord::Base
has_many :reviews, :as => :reviewable
end
However, my company table, I have two different IDs to identify my
company.
id - This is the typical id we use for normal stuff
other_company_id - This is the id we use
2018 Apr 04
4
memory cgroup max_usage_in_bytes question
hi all,
can someone help explaining what we are seeing? it makes no sense to us.
this is a host running centos 7.4 with 3.10.0-693.17.1 kernel, and it
has 192GB of ram
> [] free -b
> total used free shared buff/cache available
> Mem: 201402642432 14413479936 75642777600 48586752 111346384896 185689632768
> Swap: 21474832384 31961088
2017 Sep 30
2
yum repo issue
hi johnny,
>> anyone any hints how to debug this or some clues what could be going
>> wrong here.
>
> Do you have an exclude in /etc/yum.conf for ibutils-libs?
how embarassing. there was indeed an exclude on ibutils-libs. (this must
be some leftover from using mlnx ofed. we are switching from c73+mlnx
ofed 3.4 to c74 stock ib (there's no mlnxofed3.4 for c74, and our old
2017 Dec 07
2
kmod c74 broken: howto report it
hi all,
latest kmod update 20-15.el7_4.6 is broken on our systems, while
previous 20-15.el7_4.4 was working fine (and downgrading fixes the issue).
the issue is with modules from mellanox kmod rpms that are symlinked in
the weak-updates dir. the config files in /etc/depmod.d look ok (and do
work with previous version): dist.conf has weak-updates after built-in,
and mellanox kmod rpms ship a
2008 Feb 24
3
1 error(s) on assignment of multiparameter attributes
I am trying to create a form for processing credit cards. For the
credit card expiration date, I would like to leave the day field out
of the form for obvious reasons. However, the following code is
producing an error for me.
Any ideas?
Thanks!
<p><label for="email">Expiration</label><br/>
<input type="hidden" id="user_card_expiration_3i"
2008 Jan 08
7
script/server: Permission denied
when I run script/server I get this error:
script/server: Permission denied
I''ve been running this app for awhile now. Not sure what would have
caused the change.
Any ideas? I''ve messed around with permissions on the script folder but
nothing seems to work.
thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received
2007 Dec 22
3
Formatting looping display from mySQL table
Hi
I''m a noob to RoR. I have everything setup but can''t figure out to get
the list display as I would like. I''m sure this is very simple stuff. I
just haven''t figured it out yet :(
I hope someone can point me in the right direction :)
I have a mysql table "websites".
In it I have the following columns - Name, Url, Banner, Description
I created
2010 Feb 03
1
file copy from share A to share B
Hello,
I'm using a samba server with one harddrive with several partitions. I want
to copy some file from one partition to the other. My pc runs on Ubuntu and
using the file browser I can easily copy files from one partition to the
other. If I copy files from one samba share to the other using the file
browser the file will be transported over the network to my pc and then back
to the other