similar to: What is Ruby on Rails able to do?

Displaying 20 results from an estimated 60000 matches similar to: "What is Ruby on Rails able to do?"

2011 Aug 26
17
strings issue
Hi everybody, I ve got a problem with strings and the class File in rails Indeed, when i try to do this: File.new("archives/sequences/archives-2011.xml") it works perfectly, however when i do string = "archives/sequences/" + @filename => filename being "archives-2011.xml" File.new(string) it doesn''t work! ruby tells me it cannot find the file does
2011 Aug 28
6
Class Variable
Hi everyone, I have a question about class variable in Rails: I have a class Point that contains an class variable @@color_points="green" In a first web Page I want to set up this variable, hence i do Point.color_points = "green" then i test it using puts Point.color_points ( = green, it works,yes!) Then i have a link_to instruction that points to another web page. On this
2011 Aug 23
13
Is OSX Lion a valid choice yet? Any issues?
Hi, My Snow Leopard just let me down and now it could be a "good" moment to upgrade to Lion. But I''m not sure is it an option yet. I would be using Rails 3.0.9, Ruby 1.9.2 via RVM. Postgresql DB. And probably some stuff via homebrew. Git, Versions and that type of stuff. Are the lights red for Lion since it is so fresh? Any experiences? Thanks. -- Posted via
2011 Jul 23
6
Rails 3.1 CoffeeScript not working
I convert my old JS files into CoffeeScript, In my public controller I used this functions $(''#events a'').lightBox() $(document).ready -> $("#slider").easySlider auto: true, continuous: true they load inside application.js like this (function() { $(''#events a'').lightBox(); $(document).ready(function() {
2012 Mar 12
4
how to design a api?
hi,everyone. now i start to design a api. the url like this http://localhost:3000/api?seckey=123&&post_id=1 the visitor need a seckey to access auth.and get info via json. so i dont think thats a good api. i need your answers.thx -- 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
2011 Sep 24
4
Heroku Slugsize shot up drastically
Hi, Locally my application is 7MB without tests and logs, etc. The .git folder is 29 MB. I also have no gems / plugins in vendor folder. 95% of images sit on S3. However on committing to Heroku it shows -----> Compiled slug size is 62.7MB What is wrong? It happened? To add more context my .gitignore file is .bundle, db/.sqlite3, config/ database.yml, log/.log, tmp/, .idea, .redcar,
2011 Jul 05
4
Problem of "rake spec"
Hi all, I am a bit confused when i type rake spec and it gives me this message, No examples matching ./spec/**/*_spec.rb could be found what is that mean that something is not found. and where i can input my the test code because i did have a tiny sample code in user_controller_test.rb. is that the right place to test functional.. plz give me a help thanks -- You received this message
2011 Aug 03
2
FYI: Heroku Cedar, pg, openssl, omniauth, troubles and a solution
Hi guys, I found a really nasty issue that affects people running on Heroku''s cedar stack. We are using Rails 3.1.rc5, pg 11, omniauth 2.6. Ruby is 1.9.2.180p Basically there is an incompatibility between the http, pg and OpenSSL modules which segfaults when making https calls, for example to log in through twitter. Now pg is a required gem when using Heroku cedar stack so leaving that
2008 Jan 14
15
How to get a Window handle from another app?
Hello, I would like to get a window handle from another app outside of wxRuby and convert it into a wxRuby Window handle so that I can use it as the parent Window for several wxRuby child windows. Basically I want to use the FRAME_FLOAT_ON_PARENT window style so that my wxRuby windows become associated with the outside app kind of like toolbars, e.g., they don''t show up in the
2011 May 07
11
changing routes.rb
Hi, I''m a complete beginner and I just have a simple question: How do I change lines in a file like routes.rb? I know the command type (i.e type config\routes.rb) but that just shows it and doesn''t allow me to change anything. Thanks in advance -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby
2011 May 23
3
How can I use option --bare in Rails 3.1 for CoffeeScript?
Someone know how can I use this option in Rails 3.1? Now CoffeScript puts a function ".call(this)" on each file, but I want to remove this. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this
2011 Jun 23
2
getting twitter followers into our rails application
Hi everybody, I have integrated OAuth into my app. Now I want to get the follower lists for the user who has authenticated using OAuth. My app works on ruby on rails. And i want to know how i can fetch the followers list for the current logged in user. Can someone tell me if they have done it before? thaks +++++++++++++++ Pravin Mishra -- You received this message because you are subscribed
2010 Sep 15
5
Hide an image in show.html.erb
I have the following "show.html.erb" script, and I get as an output TWO images since I use a method to draw an image. How can I HIDE the RESOURCE image? Thanks. Here is the script: <canvas id="line" height="512" width="512"> </canvas> <p id="notice"><%= notice %></p> <p> <b> Name </b> <%=
2013 Jan 03
8
How to Install Ruby and Rails
I want to install Ruby 1.8.7 and Rails 2.8.3,i am using ubuntu 11. Thank you -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2005 Nov 27
3
Canvas Tag + Rails Ajax
Hi all, Just looking for a quick sanity check. I was thinking of writing a plugin for rails to give rails developers a good way of using the new firefox 1.5/safari canvas tags. I was thinking of grabbing an existing ruby graphics library and modifying it so that it renders via the canvas tag.. So you could have link_to_remote pointing to controller actions that instead of returning
2011 Oct 11
3
Want to implement APIs in Rails.
Hi, I want to write APIs for my rails 3.1 application but have never written an API ever. I am supposed to write REST and SOAP APIs. Is there a formal book or e-book or screencasts or tutorials which teaches about APIs in Rails and best practices? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email
2009 Dec 12
2
how to print out content of stylesheets in <style> tag via stylesheet_link_tag
Hi! I''m developing facebook apps with ruby on rails. My connection is really slow. The stylesheets do not load mosts of the time. So i want to print out the content of my .css-files in <style> Tags. Is this possibe with some parameter to the stylesheet_link_tag or an other tag? Greetings from Germany Klaus -- You received this message because you are subscribed to the Google
2010 Jun 21
4
Unknown action No action responded to 2. Actions: show
I''m trying to create a simple RoR application that shows me the records inside my table, provided that it is an example I''m working on the "Head First Rails" book. When I try to retrieve the record I get the following message: "Unknown action No action responded to 2. Actions: show" Why am I having that? And, how can I fix this issue? Provided that: 1- I
2010 Jul 05
2
Help - Google Charts on Rails Plugin
Hello, I''m starting at the RR, and I''m trying to use google charts to generate some graphs in a single plugin in rails. But I''m testing the samples that are giving errors. I think it must be configuration error. Someone who has used google charts on rails help me? Since already thank you! Juliana. =================================================================
2013 Jun 02
16
Ruby 2.0 is running, but Rails 4 doesn't see it.
What am I doing wrong?? ****@ubuntu:~/ruby/things_i_bought$ rake db:migrate Rails 4 prefers to run on Ruby 2.0. You''re running ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] Please upgrade to Ruby 1.9.3 or newer to continue. ****@ubuntu:~/ruby/things_i_bought$ ruby -v ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux] ****@ubuntu:~/ruby/things_i_bought$ rvm