Displaying 20 results from an estimated 20000 matches similar to: "linux distribution/architecture options"
2006 Mar 23
3
drag and drop sorting recipe
The new pragmatic Rails Cookbook has a drag and drop sorting recipe. Does
anyone know if this works with 1.0?
I''ve followed the recipe (i think), and I can drag but when I drop
everything goes back the way it was. It seems that the sort logic doesn''t
get invoked.
I put this code in my view:
<%= sortable_element ''task-list'' ,
:url => {
2006 Apr 28
2
Active Record save doesn''t save! (more detail - is this a bug?)
I got it to work by changing
scheduled_end_date= nil
to
self.scheduled_end_date= nil.
I believe these statements should be equivilent.
I don''t know Ruby/Rails well enough to know when, if or why that should
matter. Can someone educate me please? I want to believe this framework is
ready for production work, but silently dropping data is a very big
problem. I expect that I''ve
2006 Apr 01
5
What IDE for Rails on OSX?
Hi,
I''m using TextMate for rails development on OSX, but have reached a point
where I need to run in a debugger and be able to step through the code as it
executes. I have previously used the Eclipse Ruby plug in and another IDE
for ruby development on windows, but never figured out how to run a Rails
app in the debugger.
How are other textmate users debugging and what else is there on
2006 Apr 28
7
Active Record save doesn''t save! (or throw an exception)
PLEASE help me - this is making me insane.
Can anyone suggest any reasons for this behavior? It occured previously,
then went away and is now back.
In Task.rb (where task is an active record subclass)
def clear_schedule
puts "clearing schedule for task"
scheduled_end_date= nil #reset the
scheduled end date
save
halt.
2006 Sep 15
7
OT: TinyMCE in Rails
I''m having a problem getting the text area the size I want it to be.
In my view at the top I have this init calls
<script type="text/javascript" >
tinyMCE.init({
mode: "textareas",
theme: ''advanced'',
theme_advanced_toolbar_location: ''top''
});
</script>
Then in my form:
<%= text_area
2006 Mar 11
2
how do i retrieve a newly created id
in my code i''m calling save on an object. The id gets created as the object
is persisted. How can i retrieve that newly created id? I guess I could
query the table again using the other attributes of the object but is there
another way?
thanks in advance.
larry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 09
4
sort-weirdness - active record issue?
I''m selecting data into a controller and sorting it. The code (in the
controller) looks like this:
def index
@assignments = []
tasks = Task.find(:all, :conditions => ["person_id = ? and
actual_end_date is null", session[:user].id.to_s ])
issues = Issue.find(:all, :conditions => ["person_id = ? and status
<>
2006 Mar 10
3
installing rails 1.0 on Windows
I ran the gem installer and it seemed to work, but i believe i''m still using
an older version. How can i tell what version I''m really using?
Thansk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/435006b0/attachment.html
2005 Mar 24
3
summing values by group
At the risk of being wacked for asking what should be obvious....
I have a data frame with one categorical variable "CAT" and several
numeric variables. I want to be able to get simple statistics on the
numeric variables by level. For example, just as you can use table
(CAT) to get the counts, I'd like to be able to get the means and sums
by category.
If someone could point me
2006 Mar 09
3
Building a model from a database view
Hi,
I''m trying to use rails to build a model from a database view.
I get this output
C:\dev\v6\project>ruby script/generate scaffold Assignment
...
error Before updating scaffolding from new DB schema, try creating a
tab
le for your model (Assignment)
Is this not possible in Rails? It would be *really* helpful for my
application.
-------------- next part --------------
An
2006 May 01
2
how to reference a file for download
I have an app that uploads files into the directory RAILS_ROOT/documents/
I tried to access the file for downloading using <a
href="#{RAILS_ROOT}/documents/file_name">my file</a>.
Rails prepends the controller name to the link so I get
<a href="
http://localhost:3000/tasks/show_document/config/.../documents/file_name"
What''s the right way to do this?
2006 Aug 02
7
form_for not working with Markaby
I''m playing around with Markaby and I decided to write a little blog app.
I''m running into issues with forms however. If I use form_for the output of
the form gets swallowed. For example:
form_for :article, @article do |f|
f.text_field :title
f.check_box :published
f.text_area :description
f.text_field :pub_date
f.text_area :content
end
gets rendered as an empty form
2006 Aug 06
2
file upload with form_remote_tag
Is there a way to use form_remote_tag and to upload a file? The default
behavior ignores the upload when the Javascript serializes the form to
create the parameter list.
Basically, i''m just looking for an ajax file upload capability. Any help
would be appreciated.
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Sep 19
3
reducing space between charts in lattice graphics
Hi,
I'm trying to create a lattice plot with three xyplots in one vertical
column. I would like to reduce the vertical space between the charts. My
code is below. There seems to be a "between" parameter for lattice.options,
but I can't find any examples. Aside from the data setup, the code is below.
Can anyone provide an example showing how to reduce the white space between
the
2003 Jan 07
5
Usernames with dots
Now that I have winbind working, life is good. However, I've hit upon a
real kick in the pants.
As you can see from my email address, we have a convention here of
usernames being firstname.lastname. So, when I go to change the owner
ship of a file:
$ chown chris.palmer myfile
Linux thinks I mean user chris, group palmer, and says "invalid group"
(there is no palmer group,
2008 Oct 25
5
sse, mmx support for hvm guests
Hi,
I''ve a quad-core x86_64 machine (Intel Xeon), with sse/mmx support.
However, I want to disable sse/mmx support from HVM guests. How can I
do this? Also, is it reasonable to expect illegal instruction fault in
non-root VMX mode if a guest VM runs an application with sse/mmx
instructions?
Thanks,
Ashish
_______________________________________________
Xen-devel mailing list
2017 Sep 20
0
how many hosts could be down in a 12x(4+2) distributed dispersed volume?
After adding 3 more nodes you will have 6 nodes and 2 HD on each nodes.
It depends on the way you are going to add new bricks on the existing volume 'vol"
I think you should remember that in a given EC sub volume of 4+2, at any point of time 2 bricks could be down.
When you make 6 * (4+2) to 12 * (4+2) you have to provide path of the bricks you want to add.
Suppose you want to add 6
2008 Sep 28
3
[LLVMdev] compile linux kernel
does that mean .o generated with gcc (.c -> .s and .s -> .o) will not
contain llvm ir?
i meant, final kernel bitcode ir arch independent and can be JIT with
any arch-specific backend. Is it not the case?
thanks,
ashish
On Sat, Sep 27, 2008 at 10:43 PM, Andrew Lenharth <andrewl at lenharth.org> wrote:
> On Sat, Sep 27, 2008 at 8:08 PM, Ashish Bijlani
> <ashish.bijlani at
2009 Sep 14
1
dates with lattice graphics
Hi,
I'm trying to do something simple (I think) with lattice graphics. I want
to have three xyplots in a single column, where the x axis for the three is
a date range and the y axes are numeric.
I tried doing the first chart, and ran into a problem. When I enter:
xyplot (date ~ count)
I get a well formed plot with the date on the y axis, but when I enter:
xyplot (count ~ date)
I get:
2009 Sep 23
1
percent data being treated as categorical
I have the following data exported as a .txt file on Windows. Everything is
working fine, except that the the data in the 10th column is treated as a
factor.
Date Week Time Completed Work_Delta Mean_Delta Balance Total Total_Delta
Work Index Open_Bugs Bug_Delta Bug_Delta2
8/17/2009 4 11.8% 64 64 16 611 675 675 9.5% 0.81 333 31 -31
8/30/2009 6 17.6% 104 40 20 801 905 230 11.5% 0.65 269 32 -32