similar to: error HasManyThroughSourceAssociationNotFoundError

Displaying 20 results from an estimated 120 matches similar to: "error HasManyThroughSourceAssociationNotFoundError"

2006 Aug 14
1
monitor an app for errors
hello there how can i monitor an app. what i need most is when and where error pages were printed to user, such as RoR errors, database problems or such. is there an instance problem that i can use avalaible to views or helpers ?????? ______________ Heri R. http://sprinj.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jul 28
1
long waiting time for first page due to session[:user]
hi everyone i am developing http://sprinj.com it uses a login system, quite simple, really, similar to loginEngine the problem is that takes way too much time to access the first page. when i desactive the login system, there is very noticeable difference (about 2 to 3 seconds), and people who visited the website complained about this. is there something i can do to speed the sessions checkups ?
2006 May 28
7
Self-referential has_many :through relationship
Hi, I have a self-referential has_many :through relationship setup to track relationships between users. Basically relationships are modeled as a join table with an extra column ''relation''. create table relationships ( user_id integer unsigned not null, friend_id integer unsigned not null, relation char(1) not null, ) --- relations --- f = friend r = request to
2010 Oct 12
2
STI and :through, not working?
Artist.first.medias returns all medias. Media is an STI. Media can be video or painting. How do I return all paintings of an artist? Only paintings, not videos? In my Artist model, I tried putting: has_many :paintings, :through => :medias In console, I do: Artist.first.paintings.all And I get: ActiveRecord::HasManyThroughSourceAssociationNotFoundError: Could not find the source
2006 Jun 23
2
polymorphic challenge
Hello All, I have a little challenge and I am not sure if this is even possible I am working on a dating/event site and few functionalities are similar that I want to centralize them. We have users which can have - favorite users - interest list - blocked users All these relations are like; User <-> Relation <-> User I was thinking I could have a class called Relation (with a
2006 Aug 04
4
Tabs
I''m new to Ruby/Rails I want to create Tabs similar to these... http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People Can someone outline the best method? Specifically, Is creating a tabs.html in \..apps\views\layouts and using class PhotoController < ApplicationController layout "tabs" ....in my
2006 Nov 02
4
Still Having Problems With :through When Going To Same Table... Help... please :-(
I am having a problem with doing a :through that goes back to the same table. The following are my two classes: >>>>> class User < ActiveRecord::Base has_many :spanks has_many :spanked, :through => :spanks, :source => :spanked_user has_many :was_spanked_by, :through => :spanks, :source => :user end class Spank < ActiveRecord::Base belongs_to :spanker,
2006 Aug 16
5
New, and need help
Hey, well im new to ruby. I heard it was a web site creating software. Well the problem is that where do i get the software from? ill work out how to use it, i just need to know where to download the software. Thanks. -MAB -- Posted via http://www.ruby-forum.com/.
2006 Mar 24
2
Change to has_many :through associations
Hi everyone. I''ve made a default change to has_many :through associations that I felt was important to make before they''re released. This is after some tickets and confusion I''ve seen regarding has_many :through. class Connection < ActiveRecord::Base belongs_to :user belongs_to :channel end class Channel < ActiveRecord::Base has_many :connections
2006 Jul 28
8
Building a Search Page as part of CRUD
I''ve been experimenting with Rails over the past couple of days and have come across something that seems harder than it should be. In previous frameworks I have used (WebObjects, php) a full search page (which leads into a list view populated with search results) was part of the CRUD that was either dynamically or statically created after specifying table/object schema. In
2006 Aug 05
5
Searching a database
If I have a list of items, how can I search some item in the list, by some criteria or something else? -- Posted via http://www.ruby-forum.com/.
2006 Aug 15
2
How to access attribute in a self-referential many-to-many relationship
Hello List, I created a self-referential many-to-many relationship (as described in the book Rails recipe #18), where I have a model that has many-to-many relationships with itself. In this case, it''s person who can become friends. The join table looks like this: mysql> select * from friends_people; +-----------+-----------+-----------+ | person_id | friend_id | confirmed |
2011 Apr 07
0
Hypercluster Finder Function in R
Dear R Users I am looking at carrying out Multivariate Supervised Discretization on a set of continuous attributes to determine cut off values on each attribute which would allow best explanation of a binary outcome variable. I understand that there is an algorithm for doing this (The HyperCluster Finder Algorithm from the paper -Muhlenbach F., & Rakotomalala R. (2002). Multivariate
2006 Aug 15
66
What are the cons of using rails?
Performace hits? Integration with existing applications? Security? Bugs? Memory use? -Ben Lisbakken -- Posted via http://www.ruby-forum.com/.
2008 Mar 18
1
problem with merge
I have used merge regularly and thought I understood how it worked, but I must not. I have two dataframes with identical colnames from two different experiments, TL01 and LC01. Each dataframe has a column named "Entrez.Gene", which I have converted to "as.character" just to make sure merge is not looking at factor levels. Because I have done some filtering, the Entrez.Gene
2006 Sep 23
6
Scalability and Possiblity
I''m not sure this is the appropriate community to get objective unbiased feedback on this issue, but I suppose it''s worth a gander... Here''s my question: Is it possible to write a massively scalable application intented for millions of users (i.e. Yahoo, Google, MySpace, etc.) using Ruby on Rails? I''m sure apps like these can be built, but can they scale to
2017 Jun 14
1
Joining a Windows Server 2008 / 2008 R2 DC to a Samba AD - ISSUE - The RPC server is unavailable
Hi Rowland, *>> How did you configure Samba ?* atca13 [/opt/samba/bin]# ./samba --show-build Samba version: 4.5.0-HPE CIFS SERVER 4.5.0.0 Build environment: Build host: HP-UX atca7 B.11.31 U ia64 3395706695 unlimited-user license Paths: BINDIR: /opt/samba/bin SBINDIR: /opt/samba/bin CONFIGFILE: /etc/opt/samba/smb.conf NCALRPCDIR: /var/opt/samba/run/ncalrpc LOGFILEBASE:
2017 Jun 13
2
Joining a Windows Server 2008 / 2008 R2 DC to a Samba AD - ISSUE - The RPC server is unavailable
Hi , We have configured and run SAMBA-4.5 AD DC on Itanium HP UX 11iv3. We have tried to join the windows server 2008 DC to samba AD with the steps mentioned in the below link https://wiki.samba.org/index.php/Joining_a_Windows_Server_ 2008_/_2008_R2_DC_to_a_Samba_AD While i am trying to execute the steps mentioned in section "Joining the Windows Server to the Domain" 1.
2006 Aug 06
1
How to query with calculations?
Hi, I would like to do something simple yet I''m confused. Lets say I have a table with 2 fields: rank, updated_at. I would like to show all records matching this condition: rank = rank ? (Time.now.to_time ? Updated_at.to_time) As you can see this is supposed to be a calculation on the field. How do I write a query to show this? I''ve tried with_scope, and regular find but did not
2006 Aug 07
2
Customizing show
I''m trying to tidy up my first rails app, and want to customize the action ''show'' (created by generating a scaffold). It''s a recipe database, and some of the fields are not required when submitting a new recipe, such as the "History" field. However, when I want to show that recipe, I don''t want the column name "History" to show if