Displaying 20 results from an estimated 2000 matches similar to: "Dragging and Dropping between lists"
2006 Jul 17
1
sortable_element - Altering defaults set by rails
Hi there, I''ve got the following code to generate two sortable elements
but whenever someone drags and drops an item, i only want it to return a
serialised list of the items in categoryartworks, the unlinkedartworks
can be in any order and I don''t care. I can then delete those artworks
that were in category artworks but aren''t in the serialised list, plus
reorder
2006 May 29
19
WYSIWYG Editors and Rails
Hi everyone,
I''m currently investigating re-writing our School CMS application in
Rails and the only drawback I can see is there isn''t an ample supply (if
any) of WYSIWYG In-browser editors written with a raw Ruby backend. We
currently use KTML4 which is written with PHP as a base. I''m interested
to hear from anyone who''s integrated a PHP based editor into
2006 Feb 22
9
acts_as_habtm_list plugin
I''d like to announce acts_as_habtm_list plugin for rails.
acts_as_habtm_list is a Ruby on Rails plugin, that can manage ordered
lists through a join-table. It is providing almost the same Api as
acts_as_list. The position column has to be defined in the join table.
You can find additional information at:
http://www.inlet-media.de/acts_as_habtm_list/
Install it executing this command
2006 May 25
10
One set of source code with multiple instances
Hi there, we made a PHP and Impakt2 based web content management system
for schools with specific features that work really well for schools.
The way I designed it was so there was one central set of source code
and an empty (in terms of rows in tables) database structure. To set up
a new school i had a script that basically created a new directory in
/var/www and then within that, symlinked
2006 Nov 06
21
acts_as_ferret and associations
I have the following models:
class Book < ActiveRecord::Base
acts_as_ferret
belongs_to :author
end
class Author < ActiveRecord::Base
has_many :books
end
and in the controller:
def search
if params[:query]
@query = params[:query]
@total, @books = Book.full_text_search(@query, :page =>
(params[:page]||1))
@pages =
2007 Jul 10
3
need to add XTHML class attribute, link_to's html options?
I need to add a class attribute to the elements generated by link_to
for my CSS to style the links.
How can I do that?
<%= link_to "Artworks", :controller => "artwork", :action => "list" %>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2007 Nov 01
1
newbie: need to delete object in loop
Hi, sorry for this rather simplistic question, but I can''t think of a
good way of googling the answer (just been trying for 20 mins).
Anyway... so I have this rather simplistic piece of code:
<% for artwork in @artworks %>
<% if artwork.medium_id %>
<% medium = Medium.find(artwork.medium_id) %>
<% end %>
<% if medium %>
<p><%=
2017 Jun 26
2
Some questions about software pipeline in LLVM 4.0.0
Hi Ehsan,
In some cases modulo scheduling will insert copy instruction that end up as
real copies in the final code. It unavoidable in some cases. For example,
let's say a instruction defining a value is scheduled in the first
iteration, but one of its uses is scheduled two iterations later. In this
case, the kernel needs to create a copy because there will be two values
live in the
2010 Jan 13
2
[LLVMdev] Cross-module function inlining
On 13 Jan 2010, at 20:34, Nick Lewycky wrote:
> On 13 January 2010 12:05, Mark Muir <mark.i.r.muir at gmail.com> wrote:
>
> But... now there's a small problem with library calls. Symbols such as 'memset', 'malloc', etc. are being removed by global dead code elimination. They are implemented in one of the bitcode modules that are linked together (implementations
2012 Nov 21
0
[LLVMdev] Disable loop unroll pass
Hi Brendon, Krzysztof,
Thanks for your responses.
On 21/11/2012 20:49, Brendon Cahoon wrote:
> I just wanted to add to Krzysztof's response. I'm not sure if you're
> referring to the case when a compile-time trip count loop is completely
> unrolled or for a loop with a run-time trip count, which would be partially
> unrolled. For Hexagon, if we partially unroll a loop,
2006 Jul 11
0
Creating an association in a join table
I know this one sounds sooo simple, but it''s been bugging me for hours.
I''ve got an ajax drag and drop add page, adding an item from one list to
another. I''ve got it working to the poing where it loads the action to
do the actual adding to the database but that''s where I hit a wall.
Question: how do I make an association in my habtm join table that joins
an
2010 Jan 13
0
[LLVMdev] Cross-module function inlining
On 13 January 2010 12:05, Mark Muir <mark.i.r.muir at gmail.com> wrote:
> On 13 Jan 2010, at 16:43, Nick Lewycky wrote:
>
> > Mark Muir wrote:
> >> - Run the existing Clang tool on each source file, using -emit-llvm to
> generate a .bc file for each module.
> >> - Run llvm-link to merge them into a single .bc file.
> >> - Run llc to generate a
2005 May 18
3
CentOS 3 / tg3 driver on an HS20 Blade
Greetings:
I know it's been mentioned before that the tg3 driver in CentOS 3.4 is
buggy. I had to revert to 3.4 today from 4 (fresh install) and now I
have no link and thus no network. I'm wondering if this is caused by
this bug and what the work-around is.
Thanks.
Brendon Colby
2012 Nov 21
2
[LLVMdev] Disable loop unroll pass
I just wanted to add to Krzysztof's response. I'm not sure if you're
referring to the case when a compile-time trip count loop is completely
unrolled or for a loop with a run-time trip count, which would be partially
unrolled. For Hexagon, if we partially unroll a loop, we'd also like to use
our hardware loop instructions. That is, unrolling and hardware loops are
2010 Jan 13
2
[LLVMdev] Cross-module function inlining
On 13 Jan 2010, at 16:43, Nick Lewycky wrote:
> Mark Muir wrote:
>> - Run the existing Clang tool on each source file, using -emit-llvm to generate a .bc file for each module.
>> - Run llvm-link to merge them into a single .bc file.
>> - Run llc to generate a complete machine assembly.
>>
>> However, with optimisations enabled, the resulting code is not as
2004 Apr 05
2
smbldap_tools
Hi all,
I am having a problem getting samba ldap tools to work.
I am running Mandrake 10.0 community and have installed ldap and samba
to use to work in conjuction as a samba domain server. It has
automatically install the smbldap tools for user and group creation and
modifications. The error's that I am getting however are something like
this:
failed to perform search; invalid DN at
2016 Oct 07
4
Alternating boot default entry every reboot
Hi,
I am currently using isolinux (syslinux-6.03) in a clonezilla setup. It
boots fine, however I want to have a setup where the default boot selection
alternates every boot.
* First boot : Default is menu item 0
* Second boot : Default is menu item 1
* Third boot : Default is menu item 0
...
The idea is that when it is booted into clonezilla the clonezilla script
checks if the system needs to
2006 Jan 22
2
suggest for "ambiguous column" when JOIN associated tables
Today I face with incorrect behavior in ActiveRecord.
It take place when I try to use :include parameter for .find method.
Where are two typical cases:
1. You have record with self-referential joins
CREATE TABLE keywords (id, group_id);
class Keyword < ActiveRecord::Base
belongs_to :group,
:class_name => "Keyword",
:foreign_key =>
2006 Jun 20
1
Comparing partial response curves from GAM
Hello all, I was wondering if anyone is aware of formal approaches and tools
for comparing partial response curves produced in GAM? My interest is in
determining if two partial response curves are "statistically" different. I
recognize that point-wise standard error estimates can be produced using the
GAM package but Im not certain how to translate this into a statistical test
for the
2003 Aug 14
5
Access denied when printing to Samba printers
Howdy all,
I'm setting up a print server machine to serve hosts in an Active
Directory domain. Debian GNU/Linux ("sarge", current testing branch),
Samba 3.0.0beta2-1.
Success so far:
- All steps in the current DIAGNOSIS document
<http://au1.samba.org/samba/devel/docs/html/diagnosis.html>
- Sharing printer drivers from the [print$] share (yay!)
- Connecting to the