search for: comopasta

Displaying 20 results from an estimated 21 matches for "comopasta".

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
2009 Apr 04
11
rake aborted! undefined method `empty?' for nil:NilClass
Hi, I''m getting the next errors, would anyone have any suggestions? Thanks. [~/rails/hip]# rake --trace db:migrate RAILS_ENV="production" (in /home/domain/rails/hip) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `empty?'' for nil:NilClass /usr/lib/ruby/1.8/erb.rb:469:in `scan''
2010 Jan 08
6
How to change a rails app to INstant rails app???
i have a rails app , i need to change that app to instant rails app. i have been using Net beans as IDE is der an easy step to do that??? rather creating a new one by copy paste? -- 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
2011 Nov 15
3
create e menu for navigation.
Do you know if there is a gem for creating menu navigations? I''ve tried simple_navigation but it''s too simple. I like menu navigation of active_admin gem but I don''t know how to create it. -- 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
2010 Nov 18
7
Rails 3 ActiveRecord queries - I'm missing something very BIG
Hi, I know I am missing something very big regarding the changes with respect to activerecord in Rails 3. I can''t find the explanation. And I''m sure someone will kick my ass for not finding the right piece of info in the docs and guides. Please do. I have a working piece of code but I don''t like it. So. Very basic association: class Project < ActiveRecord::Base
2008 Jul 08
4
Checking URL with open-uri
Hi, I allow posting videos to youtube in my app. But before I let them save into the DB I want to, at least, know that the users put a link to youtube and that the link is working. How can I do those verifications with open-uri? Tried but got some errors... Thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message
2011 May 20
5
views w locale default template
[RAILS3] I hesitate on how handling the locale view templates to default to one language only .. sending admin emails will go only to one locale ''en_GB'' should I set it up into the template name and set I18n.locale to ''en_GB'' membership_renew.en_GB.html.erb OR whatever locale is used , if I have : membership_renew.html it will be the default ? --
2007 Nov 29
5
Dynamic JS or RJS ?
Hi, while I search the net for hints I leave this here, probably you will be faster than me finding an answer. The next: I have a static site where I embed a player using an external js The html: <script type="text/javascript" src="http://www.mysite.com/scripts/player.js"></script> The JS: if(navigator.userAgent.indexOf("Opera")!=-1){
2009 Jun 08
2
How to add these headers to a xml response
Hi, I need to create something like this: <?xml version="1.0" encoding="UTF-8"?> <Container> <id>aQlfVHX+qPM</id> <lifetime>2009-09-19T08:14:55Z</lifetime> </Container> The response should contain the next headers: Content-Type=`application/vnd.3gpp+xml`
2011 Nov 16
1
Creating a "handcrafted" database object.
Hi, This one is kind of strange. This is concerning sqlite3. I have an application that uses postgresql. I would like to manually create a sqlite3 db object that contains data that I would extract from the "real" postgresql DB. This is not a one time action but it would generate a new sqlite3 db object when some related data changes. Background: I have a set of many applications that
2009 Jan 19
3
Attachment_fu: save to a default format
Hi, would anyone have any advices on the next? I allow users to upload images to my app. I''m using attachment_fu and MiniMagick. There''s two things that I''d like to do: 1- No matter what format the original file is I''d like to save it in jgp format. 2- I want to keep all images limited to say 1000px width, so resize if they are bigger. Is there a way to do
2011 May 20
2
Rails DB defaults to utf8 for mysql -- but unicode for postgresql
Hi, Creating a new Rails application with -d postgresql sets the encoding in the database.yml to unicode Creating a new Rails with -d mysql sets the encoding to utf8 Any ideas why this difference? I''ve been having problems with encoding due to localization, accents, json and what no. I thought I was using utf8 and not unicode. Would this have any impact? If this would be an issue?
2008 Jun 19
5
updated_at with client time not server time
Hi, I use the t.timestamps that are automatically added by rails. So there is the created_at and updated_at columns in the DB. When I create an entry those are filled with the server time when the request is created or updated. I want that to be the client time, if I do the request from Europe now I get US time in the DB. How to do it? Do I need to send explicitely time info from the client
2008 Apr 03
5
Is there a rails Gimp plugin?
Hi, In my app pictures can be uploaded. I want to do two things to the pictures: 1- Add a watermark 2- Add an effect to the picture (colorize) I can do that manually with Gimp and then upload. But how could I make the application to that automatically? Any suggestions for plugins? Regards -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You
2008 Mar 07
0
ActiveRecordStore: cleanup & avoiding duplication
Hi, I''m using ActiveRecordStore to track user sessions. I''ve used as a base the next sources: - http://blog.levicole.com/articles/category/ror - http://matt-beedle.com/2006/12/13/rails-how-to-find-out-who-is-online/ - http://www.williambharding.com/blog/?p=99 This is what I currently do: IN SESSION CONTROLLER def create self.current_user = User.authenticate(params[:login],
2009 Nov 05
1
Cucumber cannot find a static page located in public folder
Hi, I recently started with Cucumber. I''m having an issue with a static page that I locate in the public folder. When an user registers to the site I send an activation code via email. That notification is show to the user by redirecting to a static page located in the public folder. If I start the server and register I get redirected properly to the static page. But when I run the
2010 Nov 12
1
Devise after_sign_up_path_for - how to?
Hi, I''m new to devise and I''m having a problem overwriting a controller. After sign-up I want the user to go to a static page. In the controllers folder I have created users/registrations_controller.rb class Users::RegistrationsController < Devise::RegistrationsController def after_sign_up_path_for(resource) puts "If I coould see this..."
2011 Sep 09
0
Heroku, oauth, redirects and ajax
Hi, I have a controller method that makes at least 3 calls to external severs. The method is an oauth callback where intially I was (within that method) creating and saving a picture into rackspace, and then making two consecutive calls to an external service. After all that the end user sees a canvas that belongs to the external service application so my job is done. I have that in Heroku and
2011 Oct 11
0
Mechanize gem. What's the price?
Hi, I''ve been trying to fix a problem when making a https request using Net::HTTP No matter how I tried I was getting and EOF error. Then I tried with Mechanize gem and it worked like a charm. The code I use now for Mechanize is: agent = Mechanize.new agent.keep_alive = true page = agent.post("https://somewhereintime.bla", {''tagid'' =>
2011 Dec 13
0
My partial wont render if there are line breaks (!?)
Hi, I''m having a problem with some partials not rendering if there are line breaks in it. I''m trying Coda editor. Anyone using it? It has given me sometimes strange problems due to text encoding. And now problem with line endings. I guess I won''t be trying it for a long time. I imagine not many Rails developers use Coda though... -- Posted via