Displaying 20 results from an estimated 3000 matches similar to: "AJAX on page load"
2006 Feb 13
4
Calling find()
Hello, sorry for the bulk question, but I cannot find answer anywhere,
I have model like Phonebook::Category, and i`m stuck on calling find()
method on this model ?
2006 Feb 14
8
routing failures
probably something really simple but I don''t understand.
Shifting to Apache to w/ fastcgi (definitely feels faster than webrick)
Anyway, I set the default route in routes.rb to be
map.connect '''', :controller => "placements", :action => ''list''
which worked once I figured out apache...
Anyway, now that I have done that, all attempts
2006 Feb 06
9
tests fine, but fail under rake
Hi there,
So I have an odd error at the moment that only occurs when I run tests
via rake. It''s happening with two tests now. Under a simple ruby run,
the tests are fine, e.g.:
D:\User\Code\ruby\prometheus>ruby
test\functional\story_comments_controller_test
.rb
Loaded suite test/functional/story_comments_controller_test
Started
.........
Finished in 2.37 seconds.
9 tests, 65
2006 Feb 06
35
ROR Recipes Beta
Yesterday I got the beta version of ROR recipes book and the recipes are great. For those of you still thinking about it, I highly recommend the book.
The only thing I wish is that if there were some more recipes (greedy me), especially AJAX related and installing an application within your current application.
For instance, it will be great to see how one can implement the typo blog
2006 Feb 14
4
Newbie stumped by "NameError in "
Help. I cannot find any help by searching...
I''m slowly creating an application using tutorial examples, etc, but I
think I''m missing something real basic:
Here''s the error message:
NameError in Mindreadr#display_images_from_mindreadr
undefined local variable or method `mindreadr_open_socket'' for
#<#<Class:0x37c3b08>:0x37c3a30>
Here are
2006 Feb 04
22
What''s the best way to embed a form?
I would like to embed my login form on my app''s home page. What''s the best way to render the login action of member controller from another action?
Thanks
Frank
---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 14
1
Another HABTM Question
Hi there,
I have a question on what would be the best way to save a HABTM model.
A posting habtm categories, and a category habtm postings.
class Category < ActiveRecord::Base
has_and_belongs_to_many :postings
end
class Posting < ActiveRecord::Base
has_and_belongs_to_many :categories
end
In my blog_controller, where the actual posting is saved, is where I
think I''m
2006 Feb 07
4
Ruby, Rails & Inheritance
Hi!
I am looking for a solution for the following problem:
Some of my models share some attributes and also was in need for some
extra features, so I created a class "RecordWithFeatures":
-----------------------------------------------------------------
class RecordWithFeatures < ActiveRecord::Base
# @Override
def self.descends_from_active_record?
superclass ==
2006 Feb 14
8
Assigning has_many child in parent creation question
If I have...
class Parent
has_many :children
end
class Child
belongs_to :parent
end
...then...
* Assigning a _new_ child during parent''s creation saves the child
record with the parent''s id.
child = Child.new
Parent.create(:children => [child])
# Results in child being associated with parent
* Assigning an existing child after a parent''s creation
2009 Mar 16
5
Dovecot LDA and "undeliverable" emails
I googled around looking for this, apparantly my google-fu is failing this
morning. I just switched over to using a Postfix/Dovecot virtual set-up
with Dovecot as the delivery agent. One of my users mistyped his email
address when he paid for something through Paypal and the reciept got
forwarded to everyone. It didn't bounce or just go to Postmaster, it was
delivered to every valid user on
2006 Feb 06
4
Basic MVC in RoR question
Ok, Here''s my controller:
def create
trainingplan = Trainingplan.createplan(@params[:startdate],
@params[:enddate], @params[:hoursperweek], @params[:programtype])
end
My model is:
class Trainingplan <ActiveRecord::Base
def self.createplan(stardate, enddate, hoursperweek, programtype)
stardate = startdate
enddate = enddate
hoursperweek = hoursperweek
programtype
2015 Dec 15
5
How can I change the localSID for a SAMBA Server?
Hi Marc,
We are running Samba Version 4.1.6-Ubuntu on Ubuntu 14.04 LTS. Is there any
other specific information you need?
Thanks,
Byron
--
*Byron Bogaert*
*IT System Administrator*
Wikimedia Foundation
Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us make it a reality!
https://donate.wikimedia.org
On Tue, Dec 15, 2015 at 12:53 PM, Marc
2005 Jan 05
3
Tuning string matching
Dear list,
I spent about two hours searching on the message archive, with no avail.
I have a list of people that have to pass an on-line test, but only a fraction
of them do it. Moreover, as they input their names, the resulting string do not
always match the names I have in my database.
I would like to do two things:
1. Match any strings that are 90% the same
Example:
name1 <- "Harry
2015 Dec 15
2
How can I change the localSID for a SAMBA Server?
Hi Marc,
We are working on building a Standalone Samba server on Ubuntu 14.04 LTS.
Thanks,
Byron
On Dec 15, 2015 5:12 AM, "Marc Muehlfeld" <mmuehlfeld at samba.org> wrote:
> Hello Byron,
>
> Am 14.12.2015 um 23:47 schrieb Byron Bogaert:
> > I am trying to change the localSID for a SAMBA server, however I am
> unable
> > to. I have tried the command
2015 Dec 15
4
How can I change the localSID for a SAMBA Server?
Hi Rowland,
We need to change the SID on a standalone server because it needs to also
act as a File Server. The authentication comes from LDAP, and we have
existing entries in LDAP for SID of the domain. Instead of change all the
SID in ldap, we would like to be able to change it on the server.
Hope this helps.
Thanks,
Byron
--
*Byron Bogaert*
*IT System Administrator*
Wikimedia Foundation
2007 Nov 01
3
Curry: proposed new functional programming, er, function.
Hi all (especially R-core) I suppose,
With the introduction of the new functional programming functions into
base I thought I'd ask for a Curry() function. I use a simple one that
looks this:
Curry = function(FUN,...) { .orig = list(...);function(...)
do.call(FUN,c(.orig,list(...))) }
This comes in really handy when using say, heatmap():
2002 Jun 19
1
Anon CVS updates?
Is the anonymous CVS repository for R presently broken? There haven't been
many updates coming through and the repository files seem to differ
significantly from the rsync version of R-devel...
Byron Ellis (bellis@hsph.harvard.edu)
"Oook" - The Librarian
Please finger bellis@hsph.harvard.edu for PGP keys
2015 Dec 14
2
How can I change the localSID for a SAMBA Server?
I am trying to change the localSID for a SAMBA server, however I am unable
to. I have tried the command "net setlocalsid" to no avail. To troubleshoot
I have also stopped the smbd and nmbd services, but this did not help. Any
help would be great!
root at TheWiggle:~# net getlocalsid
SID for domain THEWIGGLE is: S-1-5-21-748580849-194208185-3916830000
root at TheWiggle:~# net
2005 Dec 23
2
cairo anyone?
Has anyone taken a shot at a Cairo graphics device yet? I half
expected to see one on either Paul's pages or Omegahat. :-)
---
Byron Ellis (ellis at stat.harvard.edu)
"Oook" -- The Librarian
2015 Dec 15
1
How can I change the localSID for a SAMBA Server?
Our Global Configuration is as follows:
#======================= Global Settings =======================
[global]
workgroup = WIKIMEDIA
netbios name = THEWIGGLE
server string = %h server (Samba, Ubuntu)
security = user
dns proxy = no
#### Debugging/Accounting ####
log level = 2
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action =