similar to: in_place_edit-like functionality in my controller

Displaying 20 results from an estimated 2000 matches similar to: "in_place_edit-like functionality in my controller"

2006 May 17
0
How to validate in_place_edit updates
Can anyone enlighten me on how to make in_place_edit fields go through validations that are defined in the model? For example, my customer model has a "validates_numericality_of phone", but when the in_place_edit is done you can enter whatever you want. The field is defined as a string in the DB. I can''t change the database schema, due to other constraints, so I need a
2006 Aug 02
1
mongrel to execute ruby script?
Hello, I''ve spent a couple of hours now searching for (what I thought) was pretty straightforward. I''m using mongrel together with RoR and need to execute a .rb file located in my public folder (cgi style). But mongrel just can''t do that out-of-the-box - or am I missing something? I really don''t get how I''m supposed to configure mongrel for this
2008 Apr 01
1
in_place_edit
where is the in_place_edit plugin? script/plugin source http://svn......? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from
2006 May 11
2
How do you make in_place_edit fields appear when empty?
Here''s a simple one... When using in_place_edit fields, they don''t appear unless they already have a value. How can I get similar functionality when they are empty? Thanks, Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060511/a98640cf/attachment.html
2006 Jan 06
3
Getting model class by string
Hello, I have an interessting problem, I''m not sure how to solve :-) I have the name of a model in a variable like this: My model is called Article My var contains "Article" Now - How do I get the model class, so I can call Article.find, Article.new etc ... ? Greetings, Gitte Wange
2006 Dec 22
3
Zed, you''re a moron :-)
Hi ! My mongrel just starting spitting out these nice lines: The error occured while evaluating nil.accept. TELL ZED HE''S A MORON. !!!!!! UNHANDLED EXCEPTION! You have a nil object when you didn''t expect it! Not sure what happened or why, but just FYI: Zed, you are a moron :-) Happy holidays! Gitte Wange
2006 Jan 03
2
Using multiple columns as primary key
Hi! I''m trying to use a primary key made up of two columns in my model''s table. But looking at the docs, it looks like ActiveRecord only supports using one field as primary key. Can anyone point me in a direction of this or verify that it''s not supported? Greetings, Gitte Wange
2006 Feb 09
4
Ruby 1.8.4 trouble
Hi! The ruby installation on my FreeBSD-6 box have been upgraded from 1.8.2 to 1.8.4 by accident. And now all my rails have stopped working. I can''t produce any cool debug info since I have none. running script/ server just coredumps. Running the sites through apache isn''t an option since apache won''t start (get lots of these in my log: [Thu Feb 09 10:38:19
2005 Dec 28
4
Changing encoding on text
Hello, I have a set of templates creating some files for me. All data on my site is encoded using iso-8859-1. Now I want to save the text in the file using utf-8. I have tried using iconv, but whenever I have the require "iconv" statement in my model, there is some error happening in the model and the model doesn''t get loaded (not sure how to debug that). What approches to
2006 Jan 04
4
Need some implementation ideas :-)
Hi, I have good this cool challenge from my boss on developing a very simple cms-like system to publish articles within. The caveat is that he wants to have multi-lingual content. At first I thought RoR would be perfect for the assignment but right now I''m not so sure. My first attempt involved creating a table for each model/languagde like this: articles_en articles_dk articles_de
2006 Feb 12
0
Setting html breaks when using textile (redcloth)
Hello, I would like to enable html breaks when having newlines in my text rendered using textile/redcloth. I have found that a property names hard_breaks should be enabled but I''m not sure where (in which file). Anyone with a hint? :-) Greetings, Gitte Wange
2006 Jan 08
1
Using many-to-many relations in tests
Hello, I have some many-to-many relations, I would like to use in my tests. But I''m not sure what I should put in the fixtures for it? How do I add those relations in the testing environment? Greetings, Gitte Wange
2013 Apr 25
2
installing package
Hi I am trying to install a package (bioconductor) but every time I try to install it I get this message: source("http://bioconductor.org/biocLite.R") Warning in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) : 'lib = "C:/Program Files/R/R-3.0.0/library"' is not writable Error in
2013 Apr 24
1
R cannot find the path on my mac
Hi I am really sorry for this probably quite simple question. I am new to R, and I am running a pipeline that has already been made. All I have to do is give the paths for different folders, where the pipeline can find the files with my data. But every time I try to run the pipeline it returns with the message, that it cannot find the file. And I really don't know why. I have found the path
2006 Jan 07
2
Mailing list software
For a project I''m working on I''m hoping to be able to have both discussion and announce-only e-mail lists. Does anybody have any recommendations about good existing mailing list apps that could be integrated with a rails app? Does anybody have any experience using ActionMailer as the basis for a mass mailer? Does it perform well enough to make it feasible? Thanks! -- Dan
2008 Sep 17
0
Problem with url_for and namespaces (in in_place_editing)
Hello, Well I have been working with the in_place_editing plugin and have been running into the following error: Unknown action No action responded to 1 My code on my view is below: <span id = "permission"><%= @permission.name %></span> <%= in_place_editor "permission", {:url => url_for(:action => "update", :id => @permission.id) }
2006 Jan 12
2
in-place editing with validation
is there a good in-place editing solution with rails that does validation too ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060112/273fad3e/attachment.html
2006 Nov 04
6
Javascript form validation for In place editting in scriptaculous ?
Is there a way by which I can do form validation for form generated by In Place Editting of scritaculous? The reason is, I want to avoid server roundtrip for checks which I can perform at browser. Regards, Jatinder -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060828/ca882668/attachment-0001.html
2011 Feb 18
1
Rails plugins new official maintainers
Hey guys, This is the final list of the new maintainers of each plugin. We need two more things to do: First please the owners of the repos add the rest of the maintainers. Second I will add a note on each rails/plugin mentioning this repos updates. So from now on, if someone else is interested in helping/contributing please send a message to the appropriate repo owner. verification
2006 Jan 03
2
For loop gets exponentially slower as dataset gets larger...
I am running R 2.1.1 in a Microsoft Windows XP environment. I have a matrix with three vectors (“columns”) and ~2 million “rows”. The three vectors are date_, id, and price. The data is ordered (sorted) by code and date_. (The matrix contains daily prices for several thousand stocks, and has ~2 million “rows”. If a stock did not trade on a particular date, its price is set to “NA”)