similar to: How to get back to my original results/list?

Displaying 20 results from an estimated 100000 matches similar to: "How to get back to my original results/list?"

2007 May 31
3
where to get list of all ActiveRecord classes
Anybody know how to get a list of all your model classes from a rails environment? I''d like to do something like "ActiveRecord::Base.subclasses" but that gives me: pcollins@horatio:~/proj/foobox$ script/console Loading development environment. >> ActiveRecord::Base.subclasses NoMethodError: protected method `subclasses'' called ... Anybody know how to do
2008 Mar 14
1
how do i get country_select and select to show values
Hi i am a newbee at rails and i am using the country_select and select drop down boxes in my new.rhtml I can make these work fine but when i try viewing it in my database and show and index they just wont appear, I have tried to edited it to how do I go about showing these items everywhere i am completely stuck. if text field = f.text_field then why doesnt country_select = f.country_select or
2008 Nov 01
2
get data from call back url
Hi... I want to get parameters from call back url of my application ex :- http://localhost:3000/mail/aa/?hl=ene&zx=gfi1bdfgju6s&shva=1#inbox/11d555fsgw36fd424 as an example these params that attached how can I read when openning page. I want put those values into Session variable.. help me thankx xxmithila --~--~---------~--~----~------------~-------~--~----~ You received this message
2010 Jul 16
2
Storing processed results back into original objects
Hi all, There are matrices with same column names but arranged in different orders and I desire columns of these matrices to have same order. For example, below are 2 arbitrary data sets with columns arranged in different order. I require columns of these to have same order as specified in "columns" object and the results stored in the original object names. I know this can be done
2007 Mar 18
8
no route found to match "/cookbook/recipe/list" with {:method=>:get}
Hi, I ve just spent about three hours trying to figure this out, so any help would be appreciated. I ve followed these steps: 1. Downloaded Instant Rails 2. Unzipped it 3. Ran "InstantRails.exe" to configure it. (path is c:\InstantRails) 4. Went to the "Manage Rails Applications" area and chose "cookbook" app. 5. Clicked on "Start with Mongrel" 6. Mongrel
2007 Mar 20
2
Progressive AJAX Filter
Hi Guys, In my rails app, I present a table of data that I want to be able to filter using multiple criteria. I''ve created a one-line table of input fields above my table to accept filter criteria like this... <%= javascript_include_tag :defaults %> &nbsp; <form name="sform" action="" style="display:inline;"
2007 Jun 19
4
back button for AJAX in rails
Greetings all, I am wondering are there any thing like link_to_remote(:update, :url) in rails which preserves the navigation feature (back & forward button as well as bookmarks) of the browser? Thanks very much! Cheers, Difei -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2008 Feb 04
1
How does craigslist retain search query results?
When you search for a keyword on craigslist, a list of posts is returned. When you click on an individual post in that list, the full post is displayed. Then, when you press the back button on your browser, the results list is displayed again, without the server having to query again for the list of keywords. How can I get the server to remember search results without having to requery the
2008 May 08
0
On 'Back' button of browser, drop down doesn't get refreshed
Hey guys, i have a drop down in my UI, which value gets filled by session[:sale]. <%= select_tag :sale_id, options_for_select([["Select Sale", "0"]] + @sales.collect { |s| [s.name, s.name] }, selected = session[:saleid]), { :id => "sale_id", :onchange => "search_verify();" } %> I have a post on, ''onchange'' event of it. if i
2012 Mar 04
1
How can I map "by" results to original list of indices or first difference of column of data.frame with two factors?
Hello! I?m having stacked data in a data.frame with 2 factors, ordered POSIXct, and actual value as numeric (as if for lattice::xyplot). I would like to calculate first difference using ?diff? function within corresponding subsets/partitions. Since data.frame is organized by factors and has sorted dates, it seems like "by" is a good candidate for the job. However it returns just a dumb
2007 Sep 20
2
Oracle date, i get 0007 instead of 2007
I''m running Oracle and in my table i have a field: SCHEDULED_DATE of type DATE. When I do a query model = MyModel.find(1) model.scheduled_date_before_type_case ends up being equal to ''0007-09-19'' instead of ''2007-09-19''. In the oracle adapter I ran a debug accross all the fields and got, just after it does the query and gets the results. -
2009 Mar 18
4
Search Results into new table
I have a search form on my rails site. once the a user has entered a query it displays the results in a table with an extra field button so it can be added to there own portfolio called add to my stocks. How do i get the data for the stock they want to add and put this into a new table called mystocks. Is using a form submit button the right choice? Any examples much appreciated Regards Nick
2009 Apr 05
3
Error reverting back to a previous version of rails
I want to revert back to a previous version of rails (1.2.3) but the project I want to work on was created in 2.0.2. I have uninstalled 2.0.2 and gem installed 1.2.3 but when I run script\server I get the following error. (I''m guessing its to do with my environment file but I''m pretty new to Rails so Im not sure.)
2007 Jul 21
0
Support my bachelor thesis: Efficient Web Dev with RoR
Hi all, my name is Stefan Kuehrer and I''m a student at the University of Applied Sciences Technikum in Vienna, Austria. Currently I''m writing my bachelor thesis which is about efficient web development by using Ruby On Rails. In order to be able to present any result I would need to ask you for your help: 1. The easy one: take part at my online survey
2008 Sep 23
1
Help with "No route matches "/MyTest/" with {:method=>:get}"
I just started working with Ruby. Anyways I can''t seem to figure out how to have this message disappear. I was reading a tutorial and based on it, when I type in http://localhost:3000/MyTest/ it should say whatever I have written down on my my_test_controller.rb file. I first ran: ruby script\generate controller MyTest then I edited the my_test_controller.rb file It currently says:
2006 Oct 09
1
How can I go back to where I was?
How can I make a user go back to where he was after doing something with a post. For example, let''s assume that the user clicked a post in a third page, and after doing something (reply, destroy and so on) with the post it just redirect to the list. But at this time, the user always go back to the first page because of "redirect_to :action => ''list''" Is
2007 Jul 18
1
Truncate table to reset id back to 1
What im using now is ActiveRecord::Base.connection.execute(''TRUNCATE table_products'') to reset the id back to 1. Is there another way without using direct sql command to reset the id back to 1? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2008 Mar 06
0
Searching multiple related models
Hi, I''m interested in some feedback about a solution for searching multiple related models by columns (as opposed to full-text). A brief example would be three models with typical has_many relations: Hotel (name, company) Room (number, type) Bed (type, age) I have a search form that lists the fields for each model with a text input. Upon submission the search needs to find the results
2010 May 10
1
Using Asterisk? Get on the press list!
I'll post my semi-annual request for press contacts. If you have an Asterisk installation that matches one or more of these adjectives: - enterprise-oriented - government-oriented - education-oriented - unique - clever - large - complex ...we would be interested in having you talk with the press! We at Digium keep a list of people who wouldn't mind talking to the
2009 Feb 02
9
ActiveRecord Unexplainable SystemStackError - Only in WEBrick
This SystemStackError is driving me crazy. It only takes place when testing with WEBrick - I can''t reproduce it with any tests. It is caused by calling the "missing" id method (base.rb:2435) on my ActiveRecord class. WEBrick and my tests are running as the same user, with a `ulimit -s` of 10240. Plus the query works sometimes so I don''t think this matters.