[Rails] Re: Problem serving image assets

2019-03-06 Thread Steve Alex
I just went through a similar problem with displaying an image in a PDF generated from the gem prawn. Worked find in development, but not production. prawn knows nothing about the asset pipeline or path helpers. I'm sure that the same is true with trying to get the path from

Fwd: [Rails] Combination for boolean value array

2019-02-23 Thread Steve Alex
I also had a little fund with this. Still not sure what the purpose of the method is but I’m assuming getting the State of an array of booleans. Maybe even, well I don’t know. When I get stuck with what should be a simple combinations of boolean, I go back to ancient methods and draw a

[Rails] Safari 12.0.1 will break most applications that has a 'Confirm' JS alert

2018-11-30 Thread Steve Alex
I upgraded my MacBookAir to Mojave several weeks ago which includes Safari 12.0.1. I've also had been upgrading several internal rails applications to Rails 5.1.6 and new version of RailsFoundation with xy-grid. I then started having problems with those applications. Mainly a CRUD delete link

[Rails] Import from csv to spree

2017-12-05 Thread Alex
Hello everybody. Can I ask you to advise me on the actual gem for importing from csv-file to spree? I tried several solutions from the githab (datashift_spree, spree_datashift_prod_import, etc), but they all do not work on current versions of spree and 5rails. Any ideas? Thanks for you answer.

[Rails] Pre-loaded fixtures wiped-out by test run

2017-07-26 Thread Alex Dilley
If you preload your test database with all fixture data via the rake task: bin/rails db:fixtures:load And set self.pre_loaded_fixtures to true: class ActiveSupport::TestCase self.pre_loaded_fixtures = true self.use_transactional_tests = true # the default fixtures :all end Would you

Re: [Rails] Associations during AR callbacks(after_save)

2017-07-07 Thread Alex Morton
For instance, on a before_save callback, the value from the association traversal is still the new value. It seems no matter how far back I go in the callback chain, that this is the case. On Friday, 7 July 2017 14:12:31 UTC-4, Alex Morton wrote: > > Hmm, when you say re-read from the da

Re: [Rails] Associations during AR callbacks(after_save)

2017-07-07 Thread Alex Morton
15:25, Alex Morton <morto...@gmail.com > > wrote: > > I have a model called Dataset which registers an after_save callback to > do > > some work when its name attribute has changed. This callback is > manipulating > > a DatasetLink model but the associatio

[Rails] Associations during AR callbacks(after_save)

2017-07-07 Thread Alex Morton
I have a model called *Dataset* which registers an *after_save* callback to do some work when its *name* attribute has changed. This callback is manipulating a *DatasetLink *model but the association between the two is through another model called *Attribute.* The scenario I'm hoping to come

Re: [Rails] Need help figuring out how to implement a change feature

2016-08-27 Thread Alex Deering
like papertrail and im working on creating a form to a custom method in the controller and creating the change based on that instead of pushing it to the recipe table. On Saturday, August 27, 2016 at 11:12:29 AM UTC-6, Walter Lee Davis wrote: > > > > On Aug 27, 2016, at 10:15 AM, Alex D

[Rails] Need help figuring out how to implement a change feature

2016-08-27 Thread Alex Deering
Im working on a website that is a recipe database and want the users to be able to submit changes to the recipes and other users can vote on the changes. However the various methods Ive been trying I come across limitations and wondering what the best method would be to handle this and

[Rails] Rails. Upload videos to Vimeo using the Vimeo API

2016-07-30 Thread Alex jimmy Montaño fuentes
I am trying to upload videos to my Vimeo account from my RoR 5 application using the Vimeo api and the option "Resumable HTTP PUT uploads": https://developer.vimeo.com/api/upload/videos#resumable-http-put-uploads For this I'am using paperclip to upload the video to my application and after I want

[Rails] Content_type and content_size of file before save it

2016-07-24 Thread Alex jimmy Montaño fuentes
<%= form_tag('URL', :multipart => true) do %> Video: <%= file_field_tag :avatar %> <%= submit_tag %> <% end %> Is there any way to know the content_type and content_size of file before submit the form and send them as params to the POST request? -- Posted via

[Rails] Re: Upload and play video. RoR 5

2016-07-13 Thread Alex jimmy Montaño fuentes
After understanding the tutorial: https://www.pubnub.com/blog/2015-12-08-building-video-sharing-app-server-messaging-ruby/ I have a problem. I need to open ogv and webm files and i get this: Command :: file -b --mime '...' looking for a solution to this problem, I read that is necessary to add

[Rails] Re: Multiple user types. Polymorphism Devise

2016-07-13 Thread Alex jimmy Montaño fuentes
Thanks so much for you help and advice J. and Colin. I have much clearer ideas about this. Regards. -- 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 unsubscribe from this group and stop

[Rails] Re: Multiple user types. Polymorphism Devise

2016-07-13 Thread Alex jimmy Montaño fuentes
Thanks so much for you help and advices J. and Colin. I have much clearer ideas about this. Regards. -- 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 unsubscribe from this group and stop

[Rails] Re: Upload and play video. RoR 5

2016-07-11 Thread Alex jimmy Montaño fuentes
Walter Davis wrote in post #1184577: > You don't have ffmpeg set up correctly. Go back and re-compile it with > the theora stuff turned on. I don't know what happened, I follow the steps of the second answer in:

[Rails] Re: Multiple user types. Polymorphism Devise

2016-07-11 Thread Alex jimmy Montaño fuentes
Johnny Stewart wrote in post #1184570: > No tutorial that I know of.. > > You have the same information for all user types, namely just the > important information for users. So - you keep password, username, first > name, last name, email address etc in the User table. > > Stuff like sport,

[Rails] Re: Upload and play video. RoR 5

2016-07-11 Thread Alex jimmy Montaño fuentes
Following the steps of the page, and running sedekiq and redis-server, I have this on sedekiq: Unknown encoder 'libtheora' 2016-07-11T16:48:42.300Z 39114 TID-owgatp770 OgvVideoEncoder JID-5473fd4117a3b5aebaf19cf4 INFO: fail: 0.041 sec 2016-07-11T16:48:42.300Z 39114 TID-owgatp770 WARN:

[Rails] Re: Upload and play video. RoR 5

2016-07-11 Thread Alex jimmy Montaño fuentes
Walter Davis wrote in post #1184561: > This is a very well solved problem, so there hasn't been a lot of change > in this area. What have you tried, and where has it gone wrong for you? > > Walter Thanks for your response Walter. I tried to follow the steps of:

[Rails] Re: Multiple user types. Polymorphism Devise

2016-07-11 Thread Alex jimmy Montaño fuentes
Johnny Stewart wrote in post #1184402: > I don't think you need to use polymorphism for this. > > I'd use STI for users and just keep the very basics in the user > table(profile name, email address, type etc). Then have something like > chef_info and athlete_info tables which contain the rest of

[Rails] Upload and play video. RoR 5

2016-07-11 Thread Alex jimmy Montaño fuentes
Hi! I'am trying to upload videos, from the client, to my web application, to play it later. All the tutorials and post that i found about this are of several years ago, so someone can help me? Thanks in advance! -- Posted via http://www.ruby-forum.com/. -- You received this message because you

[Rails] Multiple user types. Polymorphism Devise

2016-06-22 Thread Alex jimmy Montaño fuentes
A few months ago I decided to learn how to use Ruby on Rails, and after learn some Ruby and do some projects by videotutoriales decided to start my own project. Once I made a diagram of classes and relationships that I need, I find my first problem: I need multiple user profiles where to some

[Rails] [Español] Varios tipos de usuario. Polimorfismo Devise.

2016-06-21 Thread Alex jimmy Montaño fuentes
Buenas! Hace pocos meses decidí aprender a utilizar Ruby on Rails, y tras aprender algo de Ruby y realizar algunos proyectos en RoR por videotutoriales decidí comenzar mi propio proyecto. Una vez hecho un diagrama de las clases y relaciones que necesitaré me encuentro con mi primer problema y es

[Rails] Varios tipos de usuarios. Polimorfismo Devise

2016-06-21 Thread Alex jimmy Montaño fuentes
Buenas! Hace pocos meses decidí aprender a utilizar Ruby on Rails, y tras aprender algo de Ruby y realizar algunos proyectos en RoR por videotutoriales decidí comenzar mi propio proyecto. Una vez hecho un diagrama de las clases y relaciones que necesitaré me encuentro con mi primer problema y es

[Rails] Re: Newbie needs help with controller

2016-01-12 Thread Alex Marie
You're amazing Colin! It worked perfectly! You just made my day -- 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 unsubscribe from this group and stop receiving emails from it, send an

[Rails] Re: Newbie needs help with controller

2016-01-12 Thread Alex Marie
Colin Law wrote in post #1180547: > On 12 January 2016 at 08:42, Alex Marie <li...@ruby-forum.com> wrote: >> >> def shop >> @listings = Listing.where(seller: User.find(params[:id,])) >> @user = User.find(params[:id]) >>end > > Better to use

[Rails] Newbie needs help with controller

2016-01-12 Thread Alex Marie
Hey there, I'm super new to RoR. I've been working on an eCommerce project for practice. Currently my website has buyers and sellers. Each seller has personal page. I'm trying to figure out how to show each seller's listings on their personal page. I don't know what to put in my controller

[Rails] Re: Which Company is Best on Ruby on Rails Development in India?

2015-06-03 Thread Alex Albert
Hi friends, www.cryptextechnologies.com is one of the best company in india offering ruby on rails development -- 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 unsubscribe from this group and

[Rails] Show RoRTalk: Build Gmail Outlook apps with Rails

2015-02-04 Thread Alex
Hi fellow Railsers, Since 2012 we have been building https://morse.io. morse.io is used to build Gmail Outlook apps that are context aware in 1hr. Apps can be public (available to all users, such as extending your product to email) or private (distributed to your organization only). For

[Rails] Interacting Between Controllers.

2015-01-31 Thread Alex B.
I am having issue grasping how to accomplish interacting between two controller. My design is as follows: I am coding a Microblog. I can make posts, which are text, and need to extract hashtags from that content. Right now I use a form_for to get the input for the micropost. I have put in the

Re: [Rails] Rails Design Patterns/Good practise

2015-01-29 Thread Alex Vasyutin
Hello, You can try to read the book https://pragprog.com/book/d-kegrap/growing-rails-applications-in-practice. There are described some techniques and practices which can be useful in real application. -- Alexander Vasyutin mailto: alex.vasyu...@gmail.com skype: alexander.vasyutin On

[Rails] Paperclip-av-transcoder gem not generating thumbnails from videos

2015-01-09 Thread Alex S.
Hi, I am trying to upload videos in my Rails application using the gem Paperclip-av-transcoder. The videos are being uploaded to my application successfully but the thumbnails are not being generated. Here's my code:- has_attached_file :movie, :url =

[Rails] How increase efficiency in develop

2014-08-05 Thread Alex Korolev
Hello. May you share your approach to increase efficiency. I can do a application on Ror but often I must remind information in help. So my speed is very low. Do you have some tricks or I must write more code (more projects) and remember all? Many time a spend on front: ajax request and html

[Rails] Ruby on Rails developer needed for start up (JOB)

2014-07-23 Thread Alex Griffin
Experienced developer needed for a small, but recently invested (seed stage) start up. You'll be joining an incredibly driven, fun and creative group of people. We plan on launching within the next few months! About Us (NewAppetite) Music Discovery: we love that. But recommendation algorithms

[Rails] Re: Using Polymer Web Components and Rails

2014-07-07 Thread Alex Chaplinsky
Actually there is a ruby gem, which allows you to create Web Components in RoR application using Polymer https://github.com/alchapone/polymer-rails -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group.

[Rails] Re: formtastic: radio button collection image_tag

2014-06-16 Thread Alex Ryder
*f.input :image, :as = :radio , :collection = images* end f.actions end On Monday, June 16, 2014 3:04:28 PM UTC+8, Alex Ryder wrote: Hello, I would like to ask, how am I going to integrate an image

Re: [Rails] What is the proper way to create lists?

2014-03-10 Thread Alex Vasyutin
://guides.rubyonrails.org/association_basics.html#the-has-many-through-association -- Alex Vasyutin Skype: alexander.vasyutin On Monday 10 March 2014 at 22:02, Giri wrote: Hey guys, I have a Bookmark model. I would like to have a List model. So my users can create Bookmark lists. I

[Rails] Re: Looking for 4 individual who want to be mentored going through Rails Tutorial

2014-01-23 Thread Alex Kaja
I'm interested. I signed up on your site. Let me know how you'd like to do the whole donation thing and when we're getting started. I'm on chapter 7 now and haven't really run into any issues so far, but it can't hurt to go through it all again. Good idea here, thanks. On Wednesday, 22

[Rails] Re: How to know which gem version to install (Rails 3.2)

2014-01-17 Thread mike alex
Hi Frederick, I mean if I use a gem I don't know if putting gem 'gemane' will cause problems because the newest version of the gem only works with rails 4. I'm worried I start using gems and the newest version only works on rails 4 and it causes issues that I can't figure out. Thanks James!

[Rails] Dry in Rails

2013-10-23 Thread alex fer
Hi all, Could you please view my rails project. What I do wrong. That is DRY principle. My git repo: https://github.com/alexfer/task-manager/tree/master/app -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails:

[Rails] Re: Dry in Rails

2013-10-23 Thread alex fer
Can you something tell about structure a project? -- 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 unsubscribe from this group and stop receiving emails from it, send an email to

[Rails] Datepicker not showing proper field

2013-09-24 Thread Alex A
I'm using Rails version 3.2 and Ruby 1.9.3 I'm trying to make within a form_tag a datepicker field. In my GemFile I have added gem 'jquery-rails' and gem 'jquery_datepicker'. In the rails console I have used the command: rails generate jquery:install --ui Application.js looks like this: //

[Rails] [shoulda-matchers gem] validate_numericality_of_matcher strange behaviour

2013-09-07 Thread alex
Hello I have Vacancy model and vacancy_spec test with validates_numericality_of :salary, greater_than: 1 in the model and validate_numericality_of(:salary).is_greater_than(2) in the _spec. When i run rspec spec command tests pass (in some cases and in other they don't) Why? vacancy.rb

[Rails] Using Match with Regexp-Do not quite understand the formula

2013-08-29 Thread Alex Froelich
Hi Ruby on Rails community! I am trying to write a program that uses the .match command to find out if a string contains a certain word-then using that information write a conditional statement. The issue I am running into is that I am self teaching myself and do not really know how to properly

[Rails] Re: Using Match with Regexp-Do not quite understand the formula

2013-08-29 Thread Alex Froelich
Walter Davis wrote in post #1119949: On Aug 29, 2013, at 10:42 AM, Alex Froelich wrote: Hi Ruby on Rails community! I am trying to write a program that uses the .match command to find out if a string contains a certain word-then using that information write a conditional statement

[Rails] Re: Using Match with Regexp-Do not quite understand the formula

2013-08-29 Thread Alex Froelich
Walter Davis wrote in post #1119974: On Aug 29, 2013, at 1:03 PM, Alex Froelich wrote: 1.9.3p429 :003 puts Yes, Movies are awesome! thanks, Alex Your method is called welcome(), but you are calling activity(). Make the last line read as this: puts welcome(I like going to movies

[Rails] Concatenate two arrays

2013-08-29 Thread Alex Froelich
. If I am defining it in the method, shouldn't it be defined if i call the method again? thanks taking a look at my question alex -- 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 unsubscribe from

[Rails] Re: Concatenate two arrays

2013-08-29 Thread Alex Froelich
days ago :). I also worked through Chris Pine's book, which was very nice. I always think i get the ideas, practice the items that they show, but when it comes to solving problems I freeze up. Guess it will come with a ton more practice and reading. thanks for taking the time to help Alex

[Rails] Re: Concatenate two arrays

2013-08-29 Thread Alex Froelich
Dheeraj Kumar wrote in post #1119995: def array_sum(array1 = [], array2 = []) array1 + array2 end array_sum([1,2,3], [4,5,6]) = [1, 2, 3, 4, 5, 6] -- Dheeraj Kumar Is there a reason why when i would run a test it would say -1 arguments instead of 2? You had listed two (array1 = [],

[Rails] Re: Re: Concatenate two arrays

2013-08-29 Thread Alex Froelich
Dheeraj Kumar wrote in post #1120004: Could you paste your test? -- Dheeraj Kumar The code for the number of arguments and the part which is failing is it requires two arguments do method(:array_sum).arity.should eq 2 end Thanks Dheeraj. Quick question about the pick axe book.

[Rails] Re: Re: Concatenate two arrays

2013-08-29 Thread Alex Froelich
Frederick Cheung wrote in post #1120015: On Thursday, August 29, 2013 11:02:10 PM UTC+1, Ruby-Forum.com User wrote: Dheeraj's code has optional arguments. In such circumstances arity will return a negative number (where -1 means that the method requires at least 0 arguments, -1 would mean a

[Rails] Adwords API get keywords with ruby on rails

2013-08-08 Thread alex
Hello, I took the ruby on rails example, and tried to add to it a view which is displaying the keywords from an AdGroup, I am able to get the keywords, and the total no of keywords from a campaign but I don't know why I can not display them in the view. keyword model: class Keyword

[Rails] Re: User roles, authorisation, on specific projects

2013-07-25 Thread Alex Simion
, is this right? On Tuesday, July 23, 2013 5:11:55 PM UTC+1, alex wrote: On Tuesday, July 23, 2013 1:52:23 PM UTC+1, alex wrote: Hello, Currently I am working on a app, so far I have User (with devise) which are able to create projects. So, if user1 create project A and project B I want him

[Rails] User Role authorisation

2013-07-25 Thread Alex Alex
Hello, Currently I am working on a app, so far I have User (with devise) which are able to create projects. So, if user1 creates project A and project B I want him, to be able to assign user2 with role admin on project A, and user2 with moderator role on project B. I was thinking in creating a

[Rails] Re: User Role authorisation

2013-07-25 Thread Alex Alex
Oh, sorry I did not realised that those forums are the same. Colin Law wrote in post #1116638: On 25 July 2013 09:56, Alex Alex li...@ruby-forum.com wrote: Hello, Currently I am working on a app, so far I have User (with devise) which are able to create projects. So, if user1 creates project

[Rails] User roles, authorisation, on specific projects

2013-07-23 Thread alex
Hello, Currently I am working on a app, so far I have User (with devise) which are able to create projects. So, if user1 create project A and project B I want him, to be able to assign user2 with role admin on project A, and user2 with moderator admin on project B. I was thinking in creating

[Rails] Re: User roles, authorisation, on specific projects

2013-07-23 Thread alex
On Tuesday, July 23, 2013 1:52:23 PM UTC+1, alex wrote: Hello, Currently I am working on a app, so far I have User (with devise) which are able to create projects. So, if user1 create project A and project B I want him, to be able to assign user2 with role admin on project

Re: [Rails] Abridged summary of rubyonrails-talk@googlegroups.com - 24 Messages in 9 Topics

2013-06-21 Thread Alex Plescan
- Reply message - From: rubyonrails-talk@googlegroups.com To: Abridged Recipients rubyonrails-talk@googlegroups.com Subject: [Rails] Abridged summary of rubyonrails-talk@googlegroups.com - 24 Messages in 9 Topics Date: Fri, Jun 21, 2013 18:38 Today's Topic Summary Group:

[Rails] Best way to set database connection collation in rails?

2013-06-12 Thread Alex
, how much does it matter if the connection collation doesn't match set in the database server? Thanks, ~ Alex -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop receiving emails from it, send an email

[Rails] Re: please give some tutorial about Testing in Rails with Rspec and TDD

2013-06-04 Thread Alex Li
those screencasts are extremely helpful to get me started with TDD. http://marakana.com/s/post/191/techtv_video_series_efficient_rails_test_driven_development_class_1_of_6 Hope it helps. Alex On Tuesday, June 4, 2013 3:32:30 AM UTC+12, Ruby-Forum.com User wrote: Hi I'm doing with Test

[Rails] Re: How to stop webrick daemon

2013-04-29 Thread Alex J.
Tom wrote in post #109027: ... I usually do this: ps aux | grep ruby kill -9 [PID] Where PID is the process ID you get from doing the PS command. There might be a better way. -Tom Thank you Tom -- Posted via http://www.ruby-forum.com/. -- You received this message because you are

[Rails] Re: [JOBS] Ruby on Rails with Amazon Redshift development

2013-03-12 Thread Alex Friedgan
I posted link to your job request at Redshift Professional LinkedIn group. Alex Friedgan -- 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 unsubscribe from this group and stop receiving emails

[Rails] Add-on for sending a sequence of emails

2013-03-07 Thread Alex N
Is there a simple gem / engine / app for sending a sequence of emails - something like iContact or ConstantContact. For instance, I want to send an email when someone registers on my site, then 3 days later, then 10 days later. That's a rather simple case - would be nice to have some more

[Rails] redirect_to(session[:return_to]) vs session.delete

2013-01-18 Thread Alex M
Hey all, Recently I've been looking into on how to return back to a previous referring URL and and the most common approach is: redirect_to session[:return_to] But some recommend: redirect_to(session.delete(:return_to) || default) How I understand it, in the second example we call

[Rails] sudo gem install rails not working because of problem with alias_method and is_file

2013-01-12 Thread Alex M.
I had downloaded ruby, rails, and rubygems previously on my hard drive when I ran Windows. I just downloaded Ubuntu and tried to use RoR but it wasn't working, so I figured I had to follow the installation procedure listed here http://guides.rubyonrails.org/getting_started.html to get it working.

[Rails] Re: New page edit

2012-12-12 Thread Alex Korolev
Maybe you forgot add resource route? среда, 12 декабря 2012 г., 13:30:59 UTC+4 пользователь Ruby-Forum.com User написал: Hi, I'm a newbie and I can't resolve a simple problem. I generated a scaffold course and now I try to create a new page to edit my data, because my goal is produce a

[Rails] Re: New page edit

2012-12-12 Thread Alex Korolev
Do you try this: resources :courses do member do get 'score' end end среда, 12 декабря 2012 г., 14:03:00 UTC+4 пользователь Ruby-Forum.com User написал: Alex Korolev wrote in post #1088794: Maybe you forgot add resource route? , 12 2012 ., 13:30:59 UTC+4 Ruby-Forum.com

[Rails] Re: link_to popup

2012-12-08 Thread Alex Mercer
*link_to GOOGLE, http://www.google.com;, **:class **=* *_blank* On Saturday, December 8, 2012 9:15:00 AM UTC+2, Avi wrote: Hello All, I have a link. Which I want to open as a new window :- %= link_to Google, https://www.google.com;, :popup =

[Rails] Re: Opinion on a particular use of Initializers

2012-11-22 Thread Alex Braha Stoll
collector sweeps the data cached in the class variable. When I have time, I will further investigate this in order to find a way to persist that data for all the time the application is running. Cheers, Alex. Em quinta-feira, 22 de novembro de 2012 12h22min34s UTC-2, Frederick Cheung escreveu

[Rails] Opinion on a particular use of Initializers

2012-11-21 Thread Alex Braha Stoll
would like to know from veteran Rails developers if this is a good (or acceptable) use of initializers (and if this should really increase performance). Cheers, Alex. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group

[Rails] Re: Opinion on a particular use of Initializers

2012-11-21 Thread Alex Braha Stoll
that checks if the constants were already fetch doesn't guarantee the persistence of the data between requests, right? Can you point me a resource where I can learn more about a solution for my scenario? Cheers, Alex. Em quarta-feira, 21 de novembro de 2012 20h41min25s UTC-2, Frederick Cheung

[Rails] RoR Developer (Full Time, Salary)

2012-10-24 Thread Alex Weidmann
with the team. * You must have the ability to work well independently, and within a small team. We are looking for full time programmers. This will be a salary position, pay determined by experience. If you're interested in this position, email Alex - a...@mmjmenu.com - and please include a link

[Rails] Startup Team is looking for a ROR Developer

2012-06-30 Thread Alex
Looking for a Ruby on Rails developer to add to our team. We are creating an innovative ecommerce solution that will change the way people buy and sell products online. We have a clear revenue plan, scalable business model, and interested VCs. Looking for developers that are looking to work on an

[Rails] Re: Problem with blocking the user

2012-06-28 Thread Alex
I'm not sure how your sessions are set up, but if done correctly you should be able to destroy the session (thus forcing the user to re-log in on next action). Given that their account has been disabled, the next login should also fail. On Thursday, 28 June 2012 03:35:27 UTC-4, Ruby-Forum.com

[Rails] Re: why use rescue nil?

2012-06-20 Thread Alex Mercer
Alson you could just use where: @user = User.where(:id = params[:user_id]).first On Wednesday, June 20, 2012 3:29:25 AM UTC+3, John Merlino wrote: Hey all, I saw this piece of code: @user = User.find(params[:user_id]) rescue nil why rescue with a nil here? If the user is not found,

[Rails] Released: Open source ticket-desk app

2012-06-13 Thread Alex
Hi all, Recently joined Rails talk, and so far enjoying the discussions. Thought I'd write a quick post to flag that I've just open-sourced TicketDesk, an e-mail driven support desk software written in rails: https://github.com/AlexBlom/TicketDesk Hopefully some of you find it useful, Alex

[Rails] Re: Play! 2.0 (Scala) or RubyOnRail (Ruby)?

2012-06-12 Thread Alex Hugh
Indeed Matt, what a nonconstructive comment. Well, IHMO is every languages has a pros and cons. Choose whichever you are comfortable with the results and time you need to invest on. In fact, I'm hardly spend on Ruby since Scala has feature and was inspired from Ruby design too. It's made learning

[Rails] i want a rails job

2012-05-17 Thread Alex G
hi, all i want a rails job, part time or remotely i have worked with rails for 4 years,i just want to learn english and do not care about the salary of this job if you hava, contact me! -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group.

[Rails] Re: [JOB] 90 Seconds seeks Ruby on Rails Developer

2012-05-17 Thread Alex G
hi i am a chinese, i just want to learn chinese, can you accept remotely ? i do not care salary! can i apply this job? On Monday, May 14, 2012 7:31:43 AM UTC+8, Kieran P wrote: *90 Seconds seeks Ruby on Rails Developer* [the following was cross-posted to various mailing lists in New Zealand

[Rails] Re: Seeking for an Expert ROR

2012-05-17 Thread Alex G
do you accept remotely developer? i use rails for 4 years On Thursday, May 10, 2012 8:31:41 PM UTC+8, Zeev is looking for an Android Developer -7 month experience in Jerusalem . wrote: Hi Friends I am looking for a Professional . a Senior Ruby on Rails developer with vast experience Its

[Rails] [JOB] I want to find a ruby or rails part time job

2012-05-17 Thread Alex G
hi all i want to find a ruby or rails job,just for learn english, i don't care about salary i use rails for 4 years, if you want a remotely developer, contact me pls! -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To view this

[Rails] Two layouts in one mailer

2012-05-17 Thread Alex Duck
Hi all, I'm having problems figuring out how to know which mailer method is being invoked in the layout callback. In my controller, I have code like this and its working great: class Users::RegistrationsController Devise::RegistrationsController layout :devise_or_application def

Re: [Rails] Rails 2.3 not supported?

2012-04-14 Thread Alex Shulgin
On Sunday, March 4, 2012 7:59:41 PM UTC+2, Walter Lee Davis wrote: Maybe 2.3 wasn't affected?? From the original announcement [https://groups.google.com/d/topic/rubyonrails-security/CdoMUVpsRmQ/discussion]: Versions Affected: All. Fixed Versions: 3.2.2, 3.1.4, 3.0.12 Please note that

[Rails] Re: Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)

2012-03-31 Thread Alex Mercer
gem update --system On Saturday, March 31, 2012 6:00:19 AM UTC+3, Ruby-Forum.com User wrote: I'm trying to install Ruby on Rails on Ubuntu 11.10, but receiving this error: $ sudo gem install rails ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve

[Rails] Re: Updating to 3.2.3.rc1 failing

2012-03-29 Thread Alex Mercer
Can you take calm and wait couple days.. Tomorrow should be 3.2.3 final release =_) On Thursday, March 29, 2012 10:44:25 AM UTC+3, Abram wrote: Right, the code below should explain everything. This is taken from ubuntu's console. As you can see I can't seem to update my rails version. Yes, I

[Rails] Re: Unable to install rubygems

2012-03-29 Thread Alex Mercer
Seems you have problem with some dependence gem. Can you show output of: gem install -V mongrel On Thursday, March 29, 2012 6:49:24 AM UTC+3, Loganathan Sellappa wrote: HI All, I had installed the ruby 1.8.7 with patch level 253 successfully on my ubuntu 10.04, but while installing ruby

[Rails] Re: What is this error?

2012-03-24 Thread Alex Mercer
Hmm.. What gives this command? rvm current Have you tried require commands from ruby console(irb) ? On Saturday, March 24, 2012 12:34:57 AM UTC+2, Ruby-Forum.com User wrote: Hi Alex, changing it to require 'action_pack' worked. But other gems has the same issue - # ./test.rb /usr/local

[Rails] Re: What is this error?

2012-03-23 Thread Alex Mercer
1. You sure that actionpack is installed? 2. Instead of require 'actionpack' use: require 'action_pack' On Friday, March 23, 2012 5:17:10 AM UTC+2, Ruby-Forum.com User wrote: Hi Alex, thanks a lot for some informative advice. I tried those things. Still no luck :/ # env | grep -i

[Rails] Re: What is this error?

2012-03-22 Thread Alex Mercer
First.. paste in your file: require 'rubygems' before another require's: + Use require 'action_pack' insted of deprecated call 'actionpack'. On Mar 22, 2:35 am, Ruby User li...@ruby-forum.com wrote: I seem to have correct include path, but a lot of gems can't be loaded via required. What

[Rails] Re: What is this error?

2012-03-22 Thread Alex Mercer
Heh.. seems you have problem with RVM load? As your RVM installed in systemwide maner check that your `$HOME/.bashrc` file have this line at the end: source '/usr/local/rvm/scripts/rvm' If not then add and reload terminal. Then.. 1. Navigate to folder with your script and type that:

[Rails] Re: no such file to load -- rexml/encodings/UTF8.rb

2012-03-22 Thread Alex Mercer
God damn.. c'mon.. activesupport (3.2.2, 2.3.5) For what you're using rvm? for collecting branch of gems version in one gemset? Remove 3.2.2 version.. and ensure that you have installed rexml lib. On Thursday, March 22, 2012 11:04:56 AM UTC+2, Ruby-Forum.com User wrote: I'm install ruby 1.8.7

[Rails] JRuby on Rails db:test:purge fails! Need help

2012-03-19 Thread Alex S.
My system is: Ubuntu 10.04, JRuby 1.6.7, Ruby on Rails 3.0.9, activerecord-jdbc-adapter 1.2.2, activerecord-jdbcderby-adapter Up until a few days ago, rake test:units was working fine, but now suddenly it fails with the following message: - Task

[Rails] Accessing array elements directly in Rails translations

2012-02-23 Thread Alex Duck
Is it possible to access array elements directly with Rails's t() helper? For example, if I have this translation defined in my YAML file en: contact_page: title: Contact us phones: - (123) 456-7890 - +1987654321 - 1-890-123-456 Then in my view, how can I get to

[Rails] Re: Accessing array elements directly in Rails translations

2012-02-23 Thread Alex Duck
On Feb 23, 9:42 pm, Valery Kvon adda...@gmail.com wrote: On 24.02.2012, at 0:26, Alex Duck wrote:    phones:      - (123) 456-7890      - +1987654321      - 1-890-123-456 Try to quote them Quote them how? Can you give an example please? -- You received this message because you

[Rails] Re: Accessing array elements directly in Rails translations

2012-02-23 Thread Alex Duck
On Feb 23, 10:14 pm, Valery Kvon adda...@gmail.com wrote: On 24.02.2012, at 1:12, Alex Duck wrote: On Feb 23, 9:42 pm, Valery Kvon adda...@gmail.com wrote: On 24.02.2012, at 0:26, Alex Duck wrote:    phones:      - (123) 456-7890      - +1987654321      - 1-890-123-456 Try

[Rails] Re: libv8 problem

2012-02-05 Thread Alex Mercer
sudo rake db:create Why you running it with `sudo`? Just try like that: bundle exec rake:db create On Feb 4, 12:54 pm, Phil Dobbin phildob...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, all. I'm trying to run an intial rake to create my databases on a Rails

[Rails] Re: Very strange problem a lot of ruby process

2012-02-05 Thread Alex Mercer
What outputs this one? gem list -d rails On Feb 1, 9:54 pm, Steve steve21...@gmail.com wrote: Very strange problem: Ton's of ruby process just running simple command rails --version or rails new test1 . I try to run this simple command rails new test1   -- this suppose to be create a new

[Rails] Re: Rails 3.0.1 and Rake

2012-02-05 Thread Alex Mercer
Add this lines to your Gemfile and run bundle gem 'rake', '~ 0.9.2.2' gem rdoc, '~ 3.12' On Feb 5, 6:41 pm, soldier.coder geekprogrammer...@googlemail.com wrote: I'm running Rails 3.0.1 and Rake 0.9.2.2 and when I run Rake I get these warnings: WARNING: 'require 'rake/rdoctask'' is

[Rails] Re: Changing users password not working

2012-01-24 Thread Alex Mercer
Can you provide info from log file when this action performing ? + Check validations in your model and what params you getting in `params[:user]`. On Jan 24, 8:32 am, Kapil Kaligotla kapil.kaligo...@magikminds.com wrote: I am using rails 3.0.10, in that i had created users using devise and i

[Rails] Re: Ruby installation error

2012-01-14 Thread Alex Mercer
Kamal, this might be helpful: $ rvm get head $ rvm remove 1.9.2 $ rvm reload $ rvm pkg install readline $ rvm install 1.9.2 On Jan 14, 11:12 am, Colin Law clan...@googlemail.com wrote: On 13 January 2012 18:02, Kamal kamalredd...@gmail.com wrote: Hi, I am a newbie to Ruby and I have

  1   2   3   4   >