Displaying 20 results from an estimated 3000 matches similar to: "Toggle css for display on page load?"
2009 Jun 27
6
User has many topics or subtopics
Hi,
So i have users in the system and i have topics. Topics also
have_many subtopics. What is the cleanest way to setup the AR
relationships if a user can either have_many topics or subtopics ?
Its basically a dual select box dropdown, where the second dropdown is
optional.
Is the best to have user_topics, and user_subtopics tables and manage
that way ? or combine into one table with STI
2006 Jul 21
7
Layouts
I am trying to set the layout for certain actions within a controller,
but not others, but doing
class JoinController < ApplicationController
layout ''form''
def index
end
def add
end
end
sets layouts for all actions, and doing
class JoinController < ApplicationController
def index
layout ''form''
end
def add
end
end
returns an
2006 Mar 31
5
Titles in URL ?
Hi!
I have an article website and would like to have the title of the
article in the URL. and not domain.com/show/id
ie: http://domain.ck/articles/how-to-become-a-ror-master/
How to change a title with special caracters like: '', :, ?, !. to
something that works in the URL.
Thank you!
--
Posted via http://www.ruby-forum.com/.
2005 Dec 23
4
OO model style: inheritance
Hi everybody
I am totally new to rails and I am trying to start a
tiny project to get familiar with rails. But I already
got my first problem and I would be happy if somebody
could point me in the best and cleanest direction.
I am trying to develop a small gallery app. Since I
would like to add more features in future I am trying
to design a clean OO architecture of my models:
The base object
2006 Mar 15
3
Self-referential join model does not work
I have been trying to model a labeled graph using ActiveRecord (trunk
version). Basically, I have a ''Node'' model which represents a node linking
to other nodes. Links (aka edges) are labeled (i.e., have a ''label''
attribute and other behavior). Thus I decided to model edges as an ''Edge''
model and use a ''has_many :trough''
2020 Aug 05
1
[PATCH v3 35/38] virtio_mem: convert to LE accessors
Virtio mem is modern-only. Use LE accessors for config space.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/virtio/virtio_mem.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/drivers/virtio/virtio_mem.c b/drivers/virtio/virtio_mem.c
index f26f5f64ae82..c08512fcea90 100644
--- a/drivers/virtio/virtio_mem.c
+++
2003 Apr 26
1
Maxtor 5000XT Firewire/USB2 Drive
Hi,
I am trying to get FreeBSD 4.7 to connect to a Maxtor 5000XT drive, but I get the following when connecting it ->
Apr 26 09:19:43 chowder /kernel: fwohci0: node_id = 0xc000ffc1, CYCLEMASTER mode
Apr 26 09:19:43 chowder /kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
Apr 26 09:19:50 chowder /kernel: fwohci0: BUS reset
Apr 26 09:19:50 chowder /kernel: fwohci0: node_id =
2009 Sep 05
2
Running two R instances at the same time
Dear R experts,
please excuse me for writing to the mailing list without subscribing.
I have a somewhat urgent problem that relates to R.
I have to process large amounts of data with R - I'm in an
international collaboration and the data processing protocol is fixed,
that is a specific set of R commands has to be used.
I wrote a perl program that manages creation of data subsets from my
2009 Sep 05
2
Running two R instances at the same time
Reposting from R-help:
Dear R experts,
please excuse me for writing to the mailing list without subscribing.
I have a somewhat urgent problem that relates to R.
I have to process large amounts of data with R - I'm in an
international collaboration and the data processing protocol is fixed,
that is a specific set of R commands has to be used.
I wrote a perl program that manages creation of
2012 Jan 03
6
Puppet Dashboard: db:migrate failure (1.2.2 to 1.2.4)
An error I managed to hit today, trying to migrate puppet dashboard from
1.2.2 to 1.2.4 (after upgrading the master to puppet 2.7.9 seemed to
prevent the dashboard from importing new reports). I''m trying to re-run it
now, but as you might guess, the DB is pretty huge and the process takes a
while to execute.
Executed from the puppet-dashboard directory: sudo rake db:migrate
2006 Aug 18
10
TreeCtrl update
The previous TreeCtrl.i was very messy and just plain wrong, for
instance it had GetFirstChild as depreciated when in fact only 1
version of it was depreciated not both.
I changed GetFirstChild and GetNextChild to return an array of values
to match the wxPython and wxPerl usage.
I also noticed that wxTreeCtrl is inherited from wxControl on Windows
and wxScrolledWindow on everything else so I #if
2006 Mar 07
1
Override CSS hover
Is there some way to simply override CSS rules specified in a CSS file?
Scenario being that scriptaculous effects would be nicer to have on
things like :hover, but wishing to keep CSS "effects" for people
without javascript.
Specifik in this case is that I have a slight padding on a navigation
menu to indent hovered links, but it would be nicer to use
Effect.Move (I think, just
2008 Mar 25
4
Prototype: toggle() not supported on TD in IE?
The following line causes trouble both with IE 6&7:
cels[i].toggle();
It tells me that this element does not support the property or method.
The element is a cell (TD) which I checked by outputting the tagName
and it works with FF, Opera and Safari.
The IE script debugger stops at this line but I didn''t find a single
posting on the net with a similar problem which is kind of strange.
2020 Jun 08
4
[PATCH] virtio_mem: prevent overflow with subblock size
If subblock size is large (e.g. 1G) 32 bit math involving it
can overflow. Rather than try to catch all instances of that,
let's tweak block size to 64 bit.
It ripples through UAPI which is an ABI change, but it's not too late to
make it, and it will allow supporting >4Gbyte blocks while might
become necessary down the road.
Fixes: 5f1f79bbc9e26 ("virtio-mem: Paravirtualized
2020 Jun 08
4
[PATCH] virtio_mem: prevent overflow with subblock size
If subblock size is large (e.g. 1G) 32 bit math involving it
can overflow. Rather than try to catch all instances of that,
let's tweak block size to 64 bit.
It ripples through UAPI which is an ABI change, but it's not too late to
make it, and it will allow supporting >4Gbyte blocks while might
become necessary down the road.
Fixes: 5f1f79bbc9e26 ("virtio-mem: Paravirtualized
2017 Jan 04
2
Amavis on Centosl help
I'm moving from Ubuntu to CentOS 7
Previously, on Ubuntu, installing amavisd would lead to
etc/amavis/conf.d that contained:
01-debian
05-domain_id
05-node_id
15-av_scanners
15-content_filter_mode
20-debian_defaults
21-ubuntu_defaults
25-amavis_helpers
30-template_localization
40-policy_banks
50-user
However installing amavisd on centos leads to a spaghetti config file
(i.e.
2006 Aug 17
11
Can I get RubyOnRails to read and parse an html file off harddrive?
I do this in ASP to read a special html template that I use, then modify in
code before spitting out the resulting webpage.
Any ideas on how to script this in RUBY? Do I need a special GEM package?
D. Bruce Moore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060817/95cf5da6/attachment.html
2020 Jun 12
3
2020 Virtual LLVM Developers' Meeting - Call for presentations!
All developers and users of LLVM and related sub-projects are invited to present at the first virtual 2020 LLVM Developers’ Meeting <http://llvm.org/devmtg/2020-09/>!
We are looking for the following proposals:
Technical Talks (25-30 minutes including Q&A):
Talks on:
LLVM Infrastructure,Clang and all related sub-projects
On uses of LLVM in academia or industry
On new projects using
2017 Jul 12
2
Call for Talks, Tutorials, BoFs, Panels, Student Research Competition, and More!
Call for Talks, Tutorials, BoFs, Panels, Student Research Competition, and More!
All developers and users of LLVM and related sub-projects are invited to present at the 2017 LLVM Developers’ Meeting.
We are looking for the following proposals:
Technical Talks (~30 minutes):
- On LLVM Infrastructure,Clang and all related sub-projects
- On uses of LLVM in academia or industry
- On new projects
2020 Jul 20
2
2020 Virtual LLVM Developers' Meeting - Call for presentations! (Deadline SOON)
A little more than 24 hours left for proposals!
Submit your proposal here: LLVM2020 Submissions <https://hotcrp.llvm.org/usllvm2020/>
Thank you for your support of our first virtual LLVM Developers’ Meeting!
-Tanya
> On Jul 12, 2020, at 9:55 AM, Tanya Lattner <tanyalattner at llvm.org> wrote:
>
> The deadline has been extended until July 20 11:59PM PDT.
>
>