similar to: Show and Back

Displaying 20 results from an estimated 10000 matches similar to: "Show and Back"

2006 Jan 19
1
partials and instance variables for file_column
Hi, Sebastian Kanthak of the file_column-Plugin wrote once: "is the photo object inside a local variable or an instance variable (e.g. photo or @photo)? url_for_file_column only works with instance variables, like all other active record form helpers. Could this be the problem?" So I''m using file_column in a partial, e.g. <%= render (:partial => "product",
2006 Apr 19
2
Tools rund um Rails
Hallo zusammen, dann will ich mal wieder ein bi?chen Schwung auf die RoR-Liste bringen: Schildert doch einfach mal eure Erfahrungen mit Tools rund um Rails, also zum Beispiel Capistrano (formerly known as Switchtower), RadRails etc. Welche Plugins setzt ihr ein, von welchen w?rdet ihr abraten? Oder folgt ihr dem Tenor "Reuse is overrated" und schreibt euch die Sachen lieber neu? --
2006 Jan 23
2
del.icio.us-like output
I''m trying to build a page similar to a delicious page that is a listing of your bookmarks in this format: 1. Querying serialized data in ActiveRecord<http://www.karmiccoding.com/articles/2005/11/29/querying-serialized-data-in-activerecord> Hack to search serialized fields to rails <http://del.icio.us/djsodom/rails> ... and 4 other
2006 Jan 28
8
how to pass search parameters to pagination links
I have a search page with a text_field as below <%= text_field ''program'', ''program_name'' %> After I perform the search in my controller I go to a search results view which shows search results and uses Rails pagination. Now how to pass the search paramters (i.e. params[:program][:program_name] in my controller) to the pagination links (next and
2006 May 13
4
Eric Meyer about frameworks (Rails, too)
Hi, for those of you who haven''t read: http://meyerweb.com/eric/thoughts/2006/05/08/flummoxed-by-frameworks/ ""Oh", they gush, "you should absolutely try Ruby on Rails! It''s so easy! It''s almost like writing regular English!" Which means they''re clearly on crack, because Ruby on Rails is so very different from a human-written language
2006 Apr 18
4
PHP and Rails integration
There a few php solutions that I would like to integrate with my Rails app. Namely PHPBB(No offense RForum) and WordPress. Is it possible to use these in a Rails environment, and what kind of issues/stumbling blocks would I face if I attempted to? Thanks, James -- Posted via http://www.ruby-forum.com/.
2006 May 06
5
login generator always give login unsuccessfull
hi guys, i just did what it is written in this website to genrate login http://wiki.rubyonrails.org/rails/pages/HowToQuicklyDoAuthenticationWithLoginGenerator at the end i add to the database login and password but when i tried to login it give me login unsuccessfull can anyone help me thanks notice: i m beginner in webdeveloppement and especially ruby on rails -- Posted via
2006 Jun 07
2
Hash flattening on paginator link_to
Hey I need some help with pagination and the link_to in the view. I''m trying to include a hash in the pagination link_to params and it keeps flattening out my hash. Example: Here''s my hash called @answer: "answer"=>{"6"=>"9bf31c7ff062936a96d3c8bd1f8f2ff3", "7"=>"6f4922f45568161a8cdf4ad2299f6d23"}
2007 Jan 18
4
Problem with encoding - characters such as öäü
Hi I''m trying to use german characters on a ruby on rails application, but for get ? on dropwdown menus. The database, tables and fields are encoded utf8_general_ci. I have this in my application controller: class ApplicationController < ActionController::Base before_filter :set_charset before_filter :configure_charsets def set_charset @headers["Content-Type"] =
2006 Jan 09
13
Ajax Tabs
hi railers, I have a model/view/controller with many associations (20+). I would like to display the relative associations using AJAX, allowing the user to display the association his/her is interesting at a particular time. Is here any kind ajax tabs helper or some kind of tab widgets that I can easily incorporate into my rails application. regards, leon -------------- next part --------------
2006 Jan 31
6
Pagination - why is it this hard?
Hi everyone, I''m at the end of my rope on this. I can''t get pagination to work with anything but a standard find on a model. If I try to do a search and customize the pagination, I get lots of different variations. My thought was to have the list action do what it does, but to pass it a list of search conditions from the search action. So, if search determines that we need
2006 May 23
3
Pagination problem
hi everybody, i am new to rails.. plz clear my doubt... this is my question In my table(public_topics), i have 11 rows of data.. whenever i run the following view, it shows the entire rows in the current page.. and i have set the '':per_page'' option to ''2''.so it must show two data per page..but it shows all the rows in a single page..and this case continue
2006 Apr 07
2
Paginate single items
Hi, In my blog i display a post. I want to display a link tot he previous post if there is 1 and a link tot he next post if there is one. So i have in my controller def post @post = Post.find(params[:id]) @post_pages, @posts = paginate :posts, :per_page => 1 render(:layout => false) end And the following code in post.rhtml <% if @post_pages.current.next %> <%=
2006 Apr 10
9
Pagination with letter (A B C D ... Z)
Hi there, Is there a neat and easy way to implement pagination with letters rather than numbers eg : A B C D ... Z Rob
2006 Feb 05
6
render partial -- show certain content only if...
i''m working on a _post.rhtml partial, and it displays one blog post. i''m accessing this partial on the list.rhtml and the show.rhtml what i''d like is to only show the "link" link on the list.rhtml and not on the show page. <%= post.title%> <br /> <%= post.body%> <%= link_to
2006 Feb 23
6
Search Forms with Pagination
Hi there everyone, I''ve recently moved to RoR and am still struggling with the basics of what used to be second nature in php, so on with my question: I have a database with products, and I need to create a search form that paginates the results. What I have so far in my controller is: def list # If the values are nil, then set them, otherwise wrap them in % # Also,
2006 Mar 31
4
Question about pagination
Hi! I''ve got a list of project on the main page and if one of them is selected i render a partial using ajax with data of selected project. How to create links to next/previous project using pagination? -- Posted via http://www.ruby-forum.com/.
2006 May 05
1
Date calender instead of selectboxes like in Django
Hi, please have a look at http://www2.jeffcroft.com/2006/may/02/django-non-programmers/ especially the screenshot in the middle with the Calender. Instead of 3 selectfields with day, month, year I find this one much more userfriendly, also having yesterday, today and tomorrow. Are there plugins for this? I know http://www.dynarch.com/projects/calendar/ which I often included in my php-sites, and
2006 Sep 04
1
Patch: import csv on migration
Hi, I just found a patch about importing a csv file in a migration: http://dev.rubyonrails.org/ticket/5293 This feature would be great, but the patch seems to sleep :( Perhaps anyone could attend to this patch? Thanks, Beate --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2008 Apr 16
12
how to accomplish pagination in RoR
Hi Folks, I am just trying to get started up in RoR, I have done a simple application of add, edit, delete.... I am now trying to accomplish pagination in RoR, I referred a few tutorials, however none of the examples that i tried from there, seemed to work error free..... I have heard that lots of things have deprecated in RoR, can someone please post me a detailed report of how i can