similar to: params on controller and view

Displaying 20 results from an estimated 3000 matches similar to: "params on controller and view"

2006 Mar 03
3
TinyMCE or FCKEditor (WYSISYG editor)
TinyMCE or FCKEditor? which one is the best from your experience? Or anything better than these two for rails env? Thank you all, - Dunnil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/7350e5df/attachment.html
2005 Nov 23
8
Compiler OR Obfuscator for RoR applications?
Hi folks, I''m a newbie in the Ruby land, The Ruby language and RoR looks really great but I think in my situation there is a problem, we are an ISV that sells web application and we don''t want our clients see our source code, I searched the web but couldn''t find any way to compile and\or obfuscate ruby code (in web (RoR)), is there such tool available for the language?
2006 Nov 04
11
[OT] What''s the best way to install ruby/rails on Mac OS X?
Hello folks, I''ve newly bought a Mac and am new to it. I want to install Ruby on Rails on it (Ruby, Rails, SVN, Apache, MySQL, ...) but I''m not sure which way is the best. Should I go for Fink? OpenDarwin? Or just install them directly on mac. What about something in Fink, something in OpenDarwin and something directly? I''m a bit confused, may you please give me a
2006 Mar 03
2
FCKEditor Image uploading feature
Hello, I followed instructions on http://www.joshuamcharles.com/rails/fckeditor.html Added FCKEditor to my rails app which works great, but I''m not able to upload images using the WYSISYG editor. Is there a way to enable this feature in rails app? If not, where is the images folder that FCK looks into it for images, so I can upload my images manully there? Thanks, - Dunnil --------------
2006 May 31
19
Rails Deployment: Book recommendation?
Hello, I''m seeking a book on rails deployment (I think a general deployment on nix book can helps too) I need in depth information about Apache, FastCGI, (LightTPD maybe). I was thinking always I know what a web server is! but when I think more deeply about it (after reading Capistrano doc) it seems I need more info about app, web and db servers. stuff like how to config the app server
2006 Feb 05
2
request.request_uri in production environment?
Hi, What''s the problem with this line? <%= ''height="750" valign="top"'' if request.request_uri =~ /survey_result/i %> No problem with development environment but when uploading to server I get application error. And is there a better way to do this? Thanks
2006 Jun 15
25
[Very OT] MacBook defects: should I buy a MacBook?
Hello, First and foremost sorry for off topic message, but I thought maybe you smart guys can help me to decide about purchasing a MacBook or not. I was going to buy a MacBook but I found a story on digg.com about case discoloring and after googling the subject I found MacBook defects: http://www.appledefects.com/wiki/index.php?title=MacBook_Pro I''m totally confused, should I buy it?
2006 Apr 19
4
emacs rails 0.39
Testing version of Emacs Rails (http://rubyforge.org/projects/emacs-rails/) was released. If you have some suggestion or you find some bugs please inform us. Features: * Management of WEBrick/Mongrel * Display color log file * Toggle Switch between Action/View and other file (tests, helpers) automaticly or with menu * Switching to file from current line f.e. from redirect_to :controller =>
2006 May 09
25
[OT] How do guys create round corner boxes? Which Graphic tool?
Hello, Yes, I know it''s off-topic and nuby question, but I really don''t know anything about graphic, I''m all a coder who lives in his text editor, so sorry at first! I need to create round corner box for my web app, I know how to form a box using CSS, I just dunno how to create those rounded corners. Is there an easy to use tool for creating them, out there? Thank you
2006 May 12
5
Is there a method for incrementing string names?!?
Hello, I have model which has a property named "name", I want to append a number to the end of the name when there is similar name in db. name, name1, name2... Is there a ready to use method in ruby and/or rails for doing so? Thanks in advance, - Dunnil
2006 Feb 09
1
How to reorder rows in a table?
Hi, I have a link table with a location field, here is the code I wrote to reorder the rows # move_up action in links controller def move_up current_link = Link.find(params[:id]) current_link.location -= 1 current_link.save same_link = Link.find_by_location(current_link.location) same_link.location += 1 same_link.save redirect_to :action =>
2006 Jan 31
2
Problem generating CHM Rails doc
Hi, I have problem generating chm file for the rails doc. I''ve commaned the rdoc to generate the chm by: rdoc -f chm -o chm_folder action* rails-* It gave me the following error: vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb:3:15: Expected class name or ''<<''. G ot RubyToken::TkLT: "<" By adding
2006 Apr 16
11
Multiple domain name, One Rails application, is this possible?
Hello folks, I''m new to the Rails framework and don''t know where to look to find my answer. Here is the question, Is there a way to set multiple domain name for *a* rails application, and base on the URL do the work in the app. Imagine I have a user based document management system, each user want to access to her docs using her domain, but I don''t like to have many
2006 Feb 11
9
Upgrading to Ruby 1.8.4 and strange problems!
Hi folks, There is a strange problem here, I''ve installed the latest version of One-Click Ruby installer [1.8.4-16 preview3], everything went fine, and after that I''ve installed Rails 1.0. No problem in setup process, but now, when I try run my rails application, there are many strange things happening. In one my application no CSS apply, looks like there is no CSS file, and
2008 Jul 16
2
params for link_to_remote
Hello :-), i want to use ''link_to_remote'' to create a simple form on the website. The form is a simple editor to post a comment to an article. I need to know the article_id in the new view/controller. With ''render'' everything works fine, but ''link_to_remote'' doesnt work with :params :- ( here is my code of the article view: <div
2006 Mar 01
4
link_to_remote, doesn''t receives params?????
Hi, I''m using link_to_remote to trigger an ajax zone, but depends on a varaible, the new zone has different features. before I has a button inside a form. so when I click on the button, I get the value of the variable inside "params". but since I use link_to_remote now, I don''t get any value from params anymore.... Is there some way I can get the data inside a form
2007 Oct 02
4
Strange names when creating a data.frame: Difference between <- and =
This is just a curiosity question. Why do the two different syntaxes for df1 and df2 give such different results in the names(dfx)? Thanks df1 <- data.frame(nas = c("A", "B" , "B" ,"C" ,"B", "A", "D"),nums = c(3, 2, 1, 1, 2, 3, 7)) df2 <- data.frame(nas <- c("A", "B" ,
2006 Mar 08
6
Difficulty with params hash and submit_to_remote
Hi, Is there any trick to initializing the params hash via submit_to_remote()? I have a form with two submit methods - the regular, non-AJAX method, and the AJAX method. The regular method works like a champ. The submit_to_remote invokes the correct controller, but the params hash is empty except for the values for :action and :controller. I''d show my code, but it''s on
2006 Jan 10
2
Make link_to_remote call redirect current view, not read redirected content
Hello everyone ! I have a link_to_remote which creates a Party from a ContactRequest. The action on the server creates the party, marks the contact request as processed, and then returns a redirect. According to my knowledge of HTTP, that is the correct thing to do. Unfortunately, Prototype is being too clever for me at this time... It follows the redirect, without notifying me. Anybody has
2006 Jan 23
4
Using :id=>''something'' vs :mid=>''something'' params
Is there any reason for using :id=>''something'' instead of :mid=>''something'' in link_to or link_to_remote? (well other than generating a nicer link) My tool for analysing apache logs is considering /controller/action/4 as a different link than /controller/action/5, so instead of counting /controller/action it will count every variation of that parameter.