similar to: Searching a database

Displaying 20 results from an estimated 700 matches similar to: "Searching a database"

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 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 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 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 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
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
2006 Oct 28
2
anything rails based app like pligg or digg out there ?
I am wanting to do something like digg but internally at our company and am looking for a rails based starting point. There is something out there called pligg which seems pretty good, but it is PHP based and I expect to be making quite a few changes/additions, so would really prefer a project based on rails ! - hope to hear from you --~--~---------~--~----~------------~-------~--~----~ You
2006 Aug 11
2
User Favorites
Hi there, I''m currently creating a simple (at least so I thought) structure of user favorites. Basically users can add certain ''objects'' to their list of favorites. Here is my current structure (simplified) class User has_many :favorites end class Book belongs_to :favorites end class Favorite belongs_to :user has_one :book end The table favorite just has a two
2006 Aug 16
1
Creating a comments system for multiple types of content
Hi all My site has news entries, it has a party calendar and it has a blog. Now I''d like to create a commenting system that in fact is quite simple, but I wanna use it for all these 3 types of content. My question: how can I do that? I maybe could add an association to all three types in the comment model: class Comment < ActiveRecord::Base belongs_to :news_item belongs_to
2006 Aug 13
3
why do text_fields appear smaller in IE than other browsers?
In testing my application on different browsers, I''ve noticed a few differences:- a password_field :size=>20 is smaller than a text_field :size=>20 on Internet Explorer. They are the same on Firefox and Safari. makes my login box look silly. the same can be seen on the login screen for this forum. the password box is a little shorter on IE6. more annoying however is I have
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/.
2006 Nov 02
5
nesting content from multiple controllers
Hi guys. Here''s something I''ve been struggling with for a while: if you want to nest a login box on, say, a welcome page, but the login stuff is handled by the login controller while the welcome page is the welcome controller, what are your options? Iframe? Krister --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to
2006 Aug 17
9
Help me please !
Hi all, I''m a new comer. I want to design website myself but i don''t know any thing about coding before. Please advise me to learn which programming language ! I''m very interested on Ruby and Ruby on Rails introduction ... Thank you so much ! -- Posted via http://www.ruby-forum.com/.
2006 Aug 04
14
Printing an Order
Can Rails be used for printing an order in a store application that has arrived? -- Posted via http://www.ruby-forum.com/.
2006 Jul 27
2
Agile Web Development Problem
I am following that book, and I bump into this error in the Cart Creation Chapter. Can anyone help me? NoMethodError in Store#display_cart Showing app/views/store/display_cart.rhtml where line #6 raised: undefined method `product'' for 666.0:Float -- Posted via http://www.ruby-forum.com/.
2006 Aug 02
7
Same error ... again.
I reached page 82 of the Book "Agile Development with Rails" First Edition. After I compiled the code I got the following error message. [CODE] NoMethodError in Store#display_cart Showing app/views/store/display_cart.rhtml where line #11 raised: undefined method `product'' for 1099.0:Float 8: <table> 9: <% 10: for item in @items 11: product = item.product 12:
2006 Aug 04
6
Errors ... errors and errors.
I bought the second edition of the ruby on rails, it seems to work fine now, did some adjustments to the code. But now I get a second error and I want to learn to understand to fix them myself. So here is the error. ArgumentError in StoreController#add_to_cart wrong number of arguments (1 for 0) #{RAILS_ROOT}/app/models/cart.rb:15:in `initialize'' #{RAILS_ROOT}/app/models/cart.rb:15:in
2013 Apr 04
2
getent group and net ads user info differs
Hello I have a samba 4.0.3 pdc and a samba 3.5.10 as a fileserver and i am having an issue that i like to share with you. I have a share son the samba 3 setup like this [Comercial] browsable = Yes comment = Comercial path = /shares2/Comercial valid users = @Ingenieria, @Mercadeo, @Comercial, @SIIF, @Costos, administrador, backup write list = @Comercial,