similar to: Scruffy > MVC architecture?

Displaying 20 results from an estimated 3000 matches similar to: "Scruffy > MVC architecture?"

2006 Nov 10
2
How to integrate Scruff Images
Hi Folks, since I have scruffy up and running now I´d like to integrate the desired images on some of my rails views. But neither scruffy nor rails docs say something about this and I cannot find examples or help on this. So I hope somebody on this forum has experiences in integrating scruffy images on rails views. I find out how to go the easy and obvious way: Export image to a file and then
2007 Feb 19
2
Integrate scruffy graph in rails view?
Hi everybody, I''m using scruffy to create some graphs, and would like to integrate them into a regular view (i.e. show them in an <img> tag). However, I get errors when using img_tag, or the image doesn''t load if I try saving the graph to disk and then loading them in html. Generating the graph and linking to it works, however then I only have the graph open in a new
2008 Feb 29
1
Scruffy Stacked Bar Chart
Hi- Trying to do a stacked bar chart, but nothing is rendering when I add more then 1 bar: This works: graph = Scruffy::Graph.new(:title => "My Chart") graph.add :stacked do |stack| stack.add(:bar, ''Stack1'', [10,10]) end This doesn''t: graph = Scruffy::Graph.new(:title => "My Chart") graph.add :stacked
2008 Feb 04
0
Scruffy Bar Chart Question
Hi- I have been using Scruffy for a couple days and it''s worked out really well. I am stuck though getting a bar chart to work with a single line. Here''s what I am doing: general chart stuff..graph.new...etc ... my_graph.add(:bar, ''GOAL'', [250,350]) my_graph.add(:bar, ''ACTUAL'', [150,200]) This works, but what I was is a SINGLE Bar with one
2006 Jun 22
2
MVC architecture
Hi, I want to creat a GUI accessible via the web with ruby to interface some matlab implementation ... so I extended Ruby with C++ and then matlab :) that works perfectly: I have finaly a Ruby class I can call whenever I want to lunch my matlab algorithm ;) the point is now I have to make the GUI in HTML with Rubby on rails and Damn! I don''t get how works the MVC architecture in Ruby
2009 Mar 24
1
Missing TMP folder - Dovecot 1.2 Beta3
Recently after upgrading to 1.2 Beta3 from 1.1.13, I started to defer mail. After looking into it deeper, it looks like Dovecot/sieve now asks for a tmp folder in the imap (maildir) folder. Once I added the tmp folder as the logs indicants, the mail was processed normally. I have split my Inbox and imap store to different folder. Looking at what it's trying to do, it looks to me that
2006 Aug 18
1
How can I utilize this library within my Rails app?
How would I go about referencing the graphs that Scruffy generates within my Rails app? http://ibrasten.com/articles/2006/08/14/scruffy-0-2-0 Jim -- Posted via http://www.ruby-forum.com/.
2008 Nov 05
2
Muliply images > wich plugin?
Hi, I have one destionation such as Barcelona and i want to store and show multiply pictures of Barcelona. Wich upload plugin is the best for this purpose? Grtz..remco -- 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
2008 May 16
1
symbolic linking
I have a number directories under /opt on computer jack. I want some (not all) of them to appear in /opt on computer jill. I have the /opt directory on jack mounted on jill under /mnt/jack If I go into the /opt directory on jill and do this: ln -s /mnt/jack/opt/files . I get /opt/files/files on jill. What I want is /opt/files and I can't see what I'm doing wrong. -- MELVILLE
2006 May 03
2
grouped output
hello, Suppose I have a table that looks like this: center name email Health Jon jon@test.com Health Bob bob@test.com Admin Jane jan@test.com Admin Jill jill@test.com I would like the output to look like this: Health Jon jon@test.com Bob bob@test.com Admin Jane jan@test.com Jill jill@test.com when i using cold fusion, this was easy via a tag called cfoutput. when i was using java, this was
2009 Aug 12
0
Re : paste first row string onto every string in column
Try this , save your data in C:/ and write this (data <- read.csv2("c:/jill.csv", sep=",")) (C<-data[1,]) A <- numeric(4) B <- numeric(4) for (i in 1 :4){ A[i] <- paste(data[1,i],data[2,i]) B[i] <- paste(data[1,i],data[3,i]) } A B (data1 <- rbind(as.character(A),as.character(B))) (data2 <- rbind(C,data1)) normaly that gives that > (data <-
2013 Jan 16
1
Mapping SID>UID (and reverse)
Hi I have a new Samba 3.6.10 server running on Solaris 10. The server is a member of the local Active Directory (which I'll call "DOMAIN" in this email). Unix username resolution is via NIS. All domain users have NIS usernames as well.Winbind is running to allow SMBD to perform sid>uid mapping and I have setup idmap_nss. I am not using winbind in /etc/nsswitch.conf as NIS
2006 Jun 08
3
MVC and Pagination
Just wondering how to best integrate with pagination and still stick to MVC... Say I have a Post model that has a published attribute. I want to show all the recent published posts on a page. My first instinct is to create a method in the Post model called recent that does the find with proper conditions and order, but the problem I have is how do I use that with pagination (which definitely
2006 Jun 21
0
rails MVC
Bonjour a tous, voila j''ai quelque soucie a comprendre comment s''enchaine les appels de la vue/controleur/model dans Rails :( j''ai une classe qui me permet de faire la liaison entre ruby et c++ (ca marche parfaitement) que j''ai mis ds le repertoire model (je ne l''ai pas cree avec generate parce que je ne veux pas de BD! et j''avais
2004 Feb 18
1
Preview Samba-3 by Example book
Hi All, I know there has been a lot of interest in John Terpstra's upcoming book, "Samba-3 by Example: Practical Exercises to Successful Deployment." The book is scheduled to print end of March and can be found at local bookstores by early April. In the meantime, John will be giving a talk at the BYU UNIX User's Group tomorrow, Thursday, February 19th at 8PM, where he will be
2006 Aug 11
3
General architechture / MVC question
Hi all, A newbie with Ruby on Rails - and programming in general - I''m working on a few Flash and PHP projects as well. Partly to make my work more efficient, partly to gain a better understanding of system architecture / design patterns, I''ve been trying to use the MVC pattern in database-backed Flash / Actionscript development as well. I think / hope that I''m
2006 Aug 01
5
MVC question
Should I create a separate controller for each model or should I use 1 controller for all models? Having 1 "admin" controller for all backend stuff seems logic to me, but when I scaffold it rather makes 1 controller per model. I''m fairly new to the MVC pattern, so what''s the prefered way of doing it? I''m also wondering if the API is up to date? When
2007 Oct 09
0
[Slightly OT] MS MVC taking slight hints from Merb
http://www.hanselman.com/blog/ScottGuMVCPresentationAndScottHaScreencastFromALTNETConference.aspx In Scott Guthrie''s talk (about 43:30) he mentions requiring the render call as a convention. Interesting to see Merb influence Microsoft. :) -- Cheers, Kevin Williams http://kevwil.com/ http://www.almostserio.us/ http://kevwil.jaiku.com/
2006 May 08
3
MVC newbie question
All, Is it possible for a view to call back to a controller method? If so, what is the syntax? === details I have a list view that I want to filter out inactive rows based on several table fields being zero, old, etc. It would seem I should create a "filtered" method in the controller (which I have done). Then invoke if from the view like: for row in @rows continue if row.filtered
2006 May 22
1
MVC and cron jobs
I have a cronjob that runs "ruby script/runner ''Channel.preload''". Channel is a parent model, Item is the child model (i.e., Channel has_many :items and Item belongs_to :channel). The coupling is minimized, the coherence looks good, but I''m not sure the model is the right place to put this code. Is there a better place to put this code, e.g., a component (I