similar to: routing

Displaying 19 results from an estimated 19 matches similar to: "routing"

2010 Feb 10
1
mean calculation within dataframe corrupted
Dear R-helpers, my little function below calculates the group score (tmpGroupMean) of an item, appends a "_mean" on its name and stores its value on this name. However, it does not calculate the mean of these scores (LVMean) in the same row correctly, as you can see in the below output which strangely also contains NAs. What is wrong?? Thanks for any hint!!! ###### ## start
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
2005 Aug 15
2
Newbie rendering problem
Hi On every list request i render an item partial through a collection of items. the item table has 3 columns namely name,anotherName and id. the item partial looks like <%@item=item%> <%= error_messages_for(:item) %> <tr id="<%=item.id%>"> <% for column in Item.content_columns %> <td><%=h item.send(column.name) %></td> <%
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:
2008 Jul 16
3
constructor in model
Hi all, I have an activation model that when constructed should set the key (column in the activations table) to test. class Activation < ActiveRecord::Base belongs_to :user def initialize this.key = "test" end end When i do ac = Activation.new I gget NoMethodError: You have a nil object when you didn''t expect it! You might have expected an instance of Array.
2009 Feb 19
5
creating virtual hosts with Mongrel?
Does anyone know how to use Mongrel to create virtual hosts? My production site will have all kinds of domains pointing to it, and I also need to figure out how to do subdomains. Rails should react to the host name, doing a lookup based on the name and pull different records from the database based on this. For example, I''d like www.mysite.com to point back to 127.0.0.1:3000, and the
2008 Apr 25
6
ActionMailer
Hi all, I need a help. I have got a user registration form, where the user signs up and then an activation link is sent to the user email id for activating his/her account. Now I need to send an another email to the user, only after he logs in for the first time in my site, then the second email should be sent. Can anybody give me some suggestion on how to do it ?? NB: When the user clicks on
2011 Apr 07
3
[Rails 3] No route matches error using RSpec even though route DOES match
I''ve recently run into a really weird situation that I''m just not sure what''s going on here. I''m trying to write a route that will allow searches to be done via GET requests (generally a good idea since it''s just retrieving information, helps for links and SEO, etc.), and I have the route properly set up and can access it in development mode just fine,
2008 Jul 14
3
How to assert a simple link (testing)
<%= link_to ''my_profile'',:controller => ''users'', :action => ''show'', :id => current_user.id %> <a href=''http://localhost:3000/users/show/2''>my_profile</a> What is the easy and simple way to assert this link in testing. -- Posted via http://www.ruby-forum.com/.
2010 Mar 05
3
How to match vector with a list ?
Dear list, I have a vector of characters and a list of two named elements : i <- c("a","a","b","b","b","c","c","d") j <- list(j1 = c("a","c"), j2 = c("b","d")) I'm looking for a fast way to obtain a vector with names, as follows : [1] "j1" "j1"
2006 Nov 17
3
Is this the "right way"?
The site I''m currently designing doesn''t have a db back end. So I''m using rails primarily for templating and some scripting. I approached this by creating a controller called ''main'' and various views like "index", "welcome", "about", etc. But then I''d get URL''s like www.mydomain.com/main/welcome when I
2018 Dec 12
2
Using LLD to link against third-party libraries? How?
Osman Zakir <osmanzakir90 at hotmail.com> writes: > LLVM on a Developer Command Prompt. I don't know what you mean by that. "LLVM" isn't a command. Can you post the exact command you use to link? > The ones I want to fix first are the ones from Boost and Jinja2Cpp. I > saw some from those as well. I'm not at all familiar with Jinja2Cpp. Is it possible
2008 Jun 04
9
How to achieve the 'multi' fade effect that is used by Apple computer?
Hi all! My first post here, so: be gentle ;-) I have been playing around with the scriptaculous library for a while now, and I must admit it is great. However, there is one thing that I''m notable to achieve: On Apple computers website for ilife (iphoto) http://www.apple.com/ilife/iphoto/ there is a verrrryyy nice fade effect going on when you click the navigation for ''new in
2002 Mar 14
0
ADVERTISING: JobConnect - where people find jobs
Good News for Job Seekers! As you may have heard, there is a real service that is designed for and dedicated to servicing you, the Job Seeker. That service isJobConnect. Currently we have thousands of openings with Real Companies for everyone from entry-level candidates to the most experienced professionals. Come towww.jobconnect.biz and take advantage of our special offer. Remember,
2016 Nov 10
2
service doveadm : ssl problems
Hello, I'm using dovecot 2.2.13 on Debian stable. My users are authenticated through PAM, and stored in an LDAP backend I'm trying to set-up replication with ssl, following (mainly) this : http://wiki2.dovecot.org/Replication 1) I only diverted from the instructed setup by not setting "doveadm_port = 12345", as it would give me errors of the like: > Fatal:
2001 Oct 23
2
installing/running Monkey Island 3 and 4
I have problems running Monkey Island 3 here. Installing it works fine, but the problems comes when trying to run it. When pressing "Play Game" (I think that's what the button says), the program just wants to install DirectX 5.0. I guess that trying to install it is NOT an option, when you're using wine. Second, installing Monkey Island 4 is not successful, because you have this
2009 Nov 17
1
Samba trusts, mapping issue, and pam crap domain
I am running Samba ver 3.0.37 on Solaris 10 (sparc) as a PDC with LDAP for the backend for both samba and unix accounts. Assume the samba SMBPDC is called "PDC." I have also set up a trust with an Windows domain- lets call it WINDOMAIN- (the PDC for the Windows domain is Win 2003 but is in mixed mode for backwards compat.) The SAMBA domain trusts the WINDOWS domain, not not vice
2008 Nov 29
0
calendar with different types of event - polymorphism
Hi all, I have a calendar. The calendar has different kinds of events. Each event type has additional information so i think i need a new model for each new event type. eg: a game event has additional oponent and oponents colors info. Is this best solved via polymorphism where I create an eventable interface? Thanks Stijn --~--~---------~--~----~------------~-------~--~----~ You received this
2007 Dec 20
3
remove association
Hi all, I have a user has many numbers relationship. When I query User.find(:all, :include => :numbers) I get all the users with their numbers. I''m looking for a method that removes the number from a user eg users[0].numbers[1].delete . I basically want ot remove the association but I''m unable to find such a method. Regards, Stijn