similar to: why there is no automatic relationship discovery

Displaying 20 results from an estimated 10000 matches similar to: "why there is no automatic relationship discovery"

2006 Feb 15
11
VPS hosting
Speaking of hosting, have any of you used a VPS provider that offers gentoo as the VPS OS? All of the ones I know of use fedora, debian, ubuntu, or CentOS. -- - Adam ** Expert Technical Project and Business Management **** System Performance Analysis and Architecture ****** [ http://www.everylastounce.com ] [ http://www.aquick.org/blog ] ............ Blog [
2006 Feb 10
4
Handling a relationship between users and newsletter subcriptions.
Hey Everyone! I have a newsletter system that contains a multitude of different newsletters. In this case three but the system allows the user to add more. Every user can be subscribed to any amount of given newsletters. So what I did was I created a user model, newsletter model, and subscription model. The subscription model belongs to one user and one newsletter. However,
2006 Feb 12
4
[newbie] if expression "weirdness"
Ok first i am running linux with lighttpd and apache proxy''ing to the lighttpd process. ruby version is ruby 1.8.4 (2005-12-24) [i686-linux] def test @count = Question.count if(@params[:id]) then breakpoint() if (params[:id].to_i > @count) then redirect_to :action => ''finish'' end end end this is a stripped down version of
2006 Feb 08
1
render_component vs. render_component_as_string?
I''m calling render_component in a helper. render_component :controller => target_controller, :action => "show", :id => target_id This works fine, except that passing the id in :params didn''t work and I had to pass in an explicit :id parameter to get the target controller to override the id - is that documented anywhere? That''s not my question. My
2006 Feb 11
1
Retaining multiple select values from action to action?
Suppose I have a multiple select form on an initial page called things[], and two target actions. The initial page submits to target action 1, and target view 1 submits to target action 2. When I submit the form on the initial page, I can access that set of values in target action 1 and turn it into an array of objects by doing something like this (assuming that the option values are object ids,
2006 Feb 17
1
Developing reusable components?
Is there a development guide for best practices when making reusable components? For example, none of the login generators fit my requirements, and I want to write my own. But after I''m done, I''ll want to share it with multiple applications. Is there documentation for the right way to go about doing this? -- - Adam ** Expert Technical Project and Business Management ****
2006 Jan 26
21
pagination_links help
I want append custom query parameters to my pagination links, like ?page=1&foo=bar. I can''t quite figure out how to do this with the pagination_links helper, although I believe the API says you should be able to: pagination_links(paginator, options={}, html_options={}) options are: :params: any additional routing parameters for page URLs Has anyone tried this? thanks, jeff --
2006 Feb 24
18
I need more bling!
Hello everyone, I just showed a friend a prototype of a site offering a service I''m trying to sell (sorry, not on the Internet yet - he saw it at my house). His comment: "Looks like it does everything, but also looks pretty ugly. You''re not going to wow anybody with that". Sitting back and thinking about it, he''s dead right - it needs some bling to make it
2006 Apr 05
4
Development Mode on Dreamhost
Anyone know (or know where to point me to) to figure out how to force Rails into development mode? I''d like to not have to kill dispatch.fcgi everytime I make a change. My site is not live and I''m just doing development and testing right now. Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Feb 08
3
Extends ActiveRecord from the application ?
Hello, I just want to create a method that will be available for all models. Is it possible ?
2006 Feb 16
21
RoR VS Rails ???
I didn''t get a chance to go to this meeting debating WebObjects Vs Rails, but here''s a report about it: http://desperatepundit.com/blog/cremes/technology/2006/02/15/WebObjects-versus-Ruby-On-Rails.html I don''t get what he''s saying, hand coding the model? yeah, you COULD ... but what about script/generate ??? And is that so what he said about security? --
2006 Feb 26
28
A Follow up to my fedora question: Favorite Flavor Of Linux?
Than my question is this? Now that I have switchtowerized and migrate enabled my app I can start down a new path if need be on a different OS as the base of the system. We have already tried CentOS and found it to have more issues than those mentioned about fedora and through it away faster than one could shake a stick at. Here are our requirements for a stage/dev box and production:
2006 Mar 15
4
Ruby - Feed Generators
Hi All, Can anyone help me in making feed[xml/rss] generator for a webpage based on ruby/ruby on rails. Tell me if any ruby code is already available, to generate feeds for a webpage. Thanks in Advance. Sumanth. -- Posted via http://www.ruby-forum.com/.
2006 Mar 29
3
Bash
I have installed Ruby and Rails on my Intel iMac according to the instructions provided by Hivelogic. Everything works perfectly. I have noticed that if I close Terminal and later come back and open it, It seems like the paths set in bash_login are lost. If I open bash_login the paths are still there however if i do ruby -v it says I am running 1.8.2 (mac default) when I have installed 1.8.4.
2006 Mar 21
8
How to avoid multiple submits/posts?
Hello, How do I prevent previously submitted form data from being reinserted into the database when the user presses the browser''s Refresh button? On Aughey''s advice in #irc I tried using `redirect_to'' a new `:action'' but this approach doesn''t seems to work. Any idea what might be wrong or how to tackle this problem? Thanks for your help. P.S.- I
2006 Mar 27
7
rjs template ? (how to check for existence of a dom element?
In my rjs template I''m using the following line. page.visual_effect :slideUp, ''comment_error_details'', :duration => 0.5 It works fine if I have created the div with the id="comment_error_details", but if I haven''t created the error yet then my whole rjs template fails. How can I check to see if an element has been created? I could then put
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across multiple remote hosts. It was formerly known as SwitchTower. Installation: gem install capistrano Manual: http://manuals.rubyonrails.org/read/book/17 Version 1.1 introduces a few changes: * Renamed! Due to the trademark infringement debacle of last week, we had to change the name. Moving forward it will be known as
2006 Feb 19
8
select, first option empty value?
using the below: <%= select(''project'', ''project_type_id'', @project_types.collect {|x| [x.name,x.id]}, {:include_blank => true}) %> but i''d like that first option to have something like "select project type" with an empty value?
2006 Feb 17
8
Atom
Any plans for using Atom with rails. I saw the "Typo" project is using MoveableType, Blogger, ... but not Atom. It seems Atom is not part of ActionWebService. Has anyone done any work with Atom and Rails ? Thanks for your answers, Gaspard
2006 Mar 09
22
How to scale mysql servers for a rails application?
I''m a developer working on an application that will potentially be used by around 500,000 users on a daily basis. Plus some internal apps communicating to it via ActionWebServices with a potentially high demand. Our Operations team is helping us define the necessary system architecture, and I have one remaining question: What is the best way to scale the database? I have no expertise in