search for: slash7

Displaying 20 results from an estimated 26 matches for "slash7".

Did you mean: slash
2006 Aug 03
9
Rails Cheatsheets!!!
Hey if you know any rails cheatsheet link add it inot the follwing list, lets make a long list on Rails cheatsheet.... ;) 1) 2) 3) 4) . . . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060103/a6eea2ac/attachment-0001.html
2006 May 15
5
Login generator errors.
Okay, I download login generator and I used it on my new app but, it''s not working correctly. If the user logins on the same session as he created he will login if it isn''t the same session it fails. What''s going on? -- Posted via http://www.ruby-forum.com/.
2006 Feb 26
2
auto_complete on steroids
I am trying to get more out of auto_complete than it apparently was designed to deliver. My problems seem to be two fold. 1 - I use aggregations on names... :first_name, :middle_initial, :last_name and then aggregate them using a composed_of :wholename thing auto_complete_for seems to be wired to only use table columns directly and gags on the aggregate form. 2 - foreign table columns -
2006 Jan 14
2
Using AutoComplete(script.aculo.us) with DB-Query
Hi, I''m using AutoComplete from script.aculo.us and want to combine this with a call to a database. Is there any work done so far or do I have to implement all on my own. The only thing I have seen is using results from a file on the server. But that is not very handy. Some words to my background. I''m programming for a project at my university. Our aim is to combine the
2006 May 01
4
Find rows with associations in habtm
This may have been asked/answered before - if so, i apologise... I have the following table layout in a habtm relationship: ------------ ----------------------- -------------- | products | ----| categories_products |-----| categories | ------------ ----------------------- -------------- What would be the best way to pull out all the products for a given category? At the
2006 Mar 29
7
Dreamhost upgraded 1.1 - app doesn''t work
Does anyone know how long it will be until Dreamhost get''s the Rails 1.1 install running correctly? My site has been down since last night at about 7:00 pm (I think). It''s annoying, and are a lot of others having this problem too? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Apr 05
6
How to Upload Image through RoR??
Hi, I have one form , in which I am using file_field teg for input image file as follows. ===== <%= file_field("store", "picture") %> ======= Tha Actual fileld name of my Image field in Database is "store_photo" with datatype LargeBLOB. & Inside my Store Model I have specified "def picture" as follows:- ========================= def
2006 Jan 03
3
Global functions and variables.
Hey People, I''m fairly new to Rails and have perhaps an obvious question. I would like to know if there is a place that I can declare variables and methods that are globally available to all controllers. My main reason for this is I like to auto generate select boxes based off of the contents of a hash and would like to be able to do this in all views in all controllers, so that I do not
2006 Jan 25
17
Lookup pattern in Ruby
Hi folks, I''m curious how a lookup with a large group of values would be handled in Rails. For example, I have a (contrived) AnimalType filtering a list of many Animals--more than can be presented comfortably in a dropdown box. Therefore I need to either redirect to another screen to select an animal (returning after the selection is made), or show a dialog--modal or otherwise--to
2006 Jun 01
2
Best practices?
I just saw a mail about the best practices of something or other, and I was wondering is there a place where Ruby and RoR best practices can be found? Phil J. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060601/52ab6a0f/attachment-0001.html
2006 May 12
1
Some error about adding.
Ok so I''m trying to make a little exchange 3 for 1 of 1 higher rank here is the code in the controller: def exch_link @id = @session[:user].id @type = @params[:type] exch(@id,@type) end def exch(user_id,this_type) @user = User.find(:condtions => "id = " + user_id) @ranks =
2006 May 12
1
auto complete a text field
Hi, Im looking for a way to autocomplete a text field, I have found this, http://wiki.rubyonrails.com/rails/pages/HowToUseAdvancedAutocompleteFeatures but at the top it says "Note that there?s easier ways to do this built into newer versions of Rails, this was written in the early days of the framework. If I get a chance, maybe I?ll update." Any ideas where i can find some info on
2006 Apr 26
0
Are you a help vampire?
http://www.slash7.com/pages/vampires :)
2006 Mar 08
2
(no subject)
Can anyone point me in the direction of a good tutorial on visual effects in rails? I''ve searched and I''ve asked but I can''t seem to find any good documentation on ajax visual effects, combining of effects, or queued effects. Charlie Bowman http://www.recentrambles.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 12
0
Workshop for Good - May 20/21, Washington DC, $400, Benefitting Public High School
...te students (limit 5). All proceeds will benefit the Cesar Chavez Public Charter High School, a small public high school in downtown Washington, DC. Our goal is to raise $10,000 to improve access to and integration of technology throughout the curriculum. It will be led by Amy Hoy (http://www.slash7.com), Ezra Zygmuntowicz (http://www.brainspl.at), and me, Jeff Casimir (http://www.casimircreative.com). Between the three of us we have a good bit of experience and complementary specializations. Ezra has experience in the "enterprise" arena and extensive knowledge about deploymen...
2006 Apr 26
6
get foreign key table data
Hi I?m trying to bring across all related data. My table clients has a foreign key field that stores the id of an organization How can I grab the details of the organization to use in the clients show.rhtml file? Thanks Scott -- Posted via http://www.ruby-forum.com/.
2006 Feb 06
3
linked table confusion
placement.rb has_one :client has_one :case_manager client.rb belongs_to :case_manager has_many :placements case_manager.rb has_many :clients has_many :placements I am trying to create a view file for placements. I can pull columns from clients table in this view by using... <%= @placement.client.wholename %> but if I use <% @placement.case_manager.wholename %>
2009 Mar 14
2
Pobrem with REST routes
Hi first at all sorry if mu english is not the best. I have this models: Encuesta->titulo and description are string. Encuesta has_many :preguntas Preguntas-> texto is string, encuesta_id and orden are integer. Pregunta belongs_to :encuesta and has_many :soluciones Soluciones-> texto is string, pregunta_id and orden are integer. Soluciones belongs_to :pregunta Routes: map.resources
2006 Jun 28
3
couple newbie questions
Hello Folks, I am starting out with RoR and just browsed through Dave''s book ? couldn''t stop reading. I started building a prototype to get better hands on experience and I have run into two simple issues that I am hoping will be a quick answer for some of you experts out there. *Issue 1:* >From within a "companies" controller and list_companies.rhtml view
2006 Aug 15
6
try creating a table for your model
Railers: Greetings from the low end of the learning curve. I have installed all the prerequisites on Win32, including a lite MySQL database with a table in it called Inventory. Then I run this command line... ruby script/generate ajax_scaffold Inventory ...and I get this error message: error Before updating scaffolding from new DB schema, try creating a table for your model