[Rails] [JOB] - Engineering Manager - 60% management, 40% hands-on (must love dogs)

2018-01-10 Thread Evan Slade
Hi everyone! I'm working with a new client that was founded in 2013 and was officially profitable in January, 2016. They have an aggressive hiring plan for the next 2 years which includes going from 400 people to 1000 globally. They also plan on going public so this is the last year that sign

[Rails] RoR Adv. developer/business partner opportunity

2014-02-04 Thread Evan Miller
Early-stage startup seeking Adv. Ruby on Rails developer to be part of an EXCITING, NEW website that WILL BE the new benchmark in the job seeking/recruiting industry - Think about the impact LinkedIN has had on the business world...this will top that! We are two of the founding partners, lookin

[Rails] Incorrect request.original_url returned by rails. Is this a Bug?

2013-09-29 Thread Evan Lee
My home page is http://www.roomposts.com/infos/index, but request.original_url give me http://roomposts/infos/index Is this a bug? -- 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

Re: [Rails] Good Tutorial on RSpec

2012-11-02 Thread Evan Misshula
rubyonrails-talk+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/YlcNIOG9HoMJ. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Evan Misshula Doctoral Student (Criminal

Re: [Rails] Ruby on Rails salaries in Berlin?

2012-09-25 Thread Evan Misshula
Hi Werner, Any recommendations on work visas for Americans for those of us without an EU passport? Thanks, Evan On Tue, Sep 25, 2012 at 11:52 AM, powi wrote: > Ah, forget my previous post, around ~1,5k will go to paying the bills, > food etc. so it's about 1k staying in your

Re: [Rails] Rails Step by Step Tutorial for ubuntu

2012-06-04 Thread Evan Misshula
Installation_Ruby-on-Rails_for_Ubuntu-Linux-Mint_www-mirceagoia-com.pdf This is what I used. I was able to get it done. I ran into a problem and I just needed to uninstall and reinstall the gems. Good luck! Best, Evan Misshula On Mon, Jun 4, 2012 at 4:18 PM, Jeremy Walker wrote: > >

Re: [Rails] Re: Ruby IDEs

2012-02-28 Thread Evan Misshula
t; To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- Evan

Re: [Rails] RSpec RoR3

2011-07-15 Thread Evan Misshula
I would suggest you look at Michael Hartl's free tutorial. It uses Rails 3 and is available at: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec:install_rails Good luck. Best, Evan On Fri, Jul 15, 2011 at 6:43 AM, Sayuj Othayoth wrote: > Hi, > > Can any one ca

[Rails] subclasses with inherited_resources?

2011-07-14 Thread Evan C
I'm trying out inherited_resources and so far so good. However, one problem I've run into is that it's very difficult to customize inherited_resource behaviour in subclasses. Looking through the source I see it uses things like undef_method and class_attribute. For example, if I have the following

[Rails] Speeding up rails boot time in development?

2011-07-06 Thread Evan C
I recently switched from REE to ruby 1.9.2 and I was shocked by how long it takes for rails to startup. This isn't as much of an issue in production, but in development and test environments it's almost unusable because it's killing my workflow. for example, sometimes I need to run a single test

[Rails] nested routes with namespaced models

2011-06-30 Thread Evan C
Hi all. I'm having some trouble with nested routes and duplicate namespaces. I have an Article and Advert model, both with an associated Publication model: class Article has_one :publication end class Article::Publication belongs_to :article end class Advert has_one :publication end cl

[Rails] Manipulating attributes between database retrieval and return from finder

2011-01-07 Thread Evan
converted to a new format. Rather than take the app down for 12 hours to upgrade the existing data I thought it could be upgraded on-access. Evan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, sen

[Rails] Re: Validating the presence of two associated objects from both models

2009-12-30 Thread Evan Chaney
> That way you can't save a conversation without assigning it a leader, > but the leader doesn't have to be saved yet. Well, that’s where I’m at right now. I’d like to be in a situation where Conversation validates that it has a Leader and Leader validates it has a Conversation before either is

[Rails] Re: Framework choice for a new app

2009-12-30 Thread Evan
Since Merb is effectively merging into Rails and not the other way around I would suggest Rails. The reality is either way you will probably have to make significant modifications. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post t

[Rails] Re: Understanding “create_association” a nd invalid objects

2009-12-30 Thread Evan
> the new object will only be saved if it > passed the validations, not that it won't be instantiated in either > case. How can I catch and handle a situation where this occurs (the new object is instantiated, but not saved)? -- You received this message because you are subscribed to the Google

[Rails] Validating the presence of two associated objects from both models

2009-12-30 Thread Evan Chaney
I have a model “Conversation” and a model “Leader”. A Conversation is always led by exactly 1 Leader. I’ve overridden Conversation’s “validate” method to validate the presence of an associated Leader model. If I add a similar validation to the Leader model, however, Conversations can no longer

[Rails] REST and context

2009-12-28 Thread Evan C
hi all. I'm developing my latest rails app using a REST style. I've hit a bit of a problem with context however. Let's say I have an Item model. I'm using edit/update to handle the processing, but the model is edited differently depending on the context. sometimes all I'm doing is changing a 'stat

[Rails] Understanding “create_association” and i nvalid objects

2009-12-24 Thread Evan Chaney
The documentation on the “create_association” method of the “belongs_to” association reads: > create_association(attributes = {}) > Returns a new object of the associated type that has been instantiated with > attributes, linked to this object through a foreign key, and that has already > been

[Rails] Re: Error: uninitialized constant MysqlCompat::MysqlRes

2009-09-19 Thread Evan Green
This didn't seem to fix the error for me. I still get 'uninitialized constant MysqlCompat::MysqlRes' Kyle Fox wrote: > To fix this, specify ARCHFLAGS when you install the 'mysql' gem: > > sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql- > config=/usr/local/mysql/bin/mysql_

[Rails] Re: About Error handler

2009-07-21 Thread Evan C
On Jul 21, 11:44 am, karthik k wrote: > Hi > > I am new to ruby on rails > I need to know one thing > Is there any way to externalize all the error messages in one file and > access > > -- > Karthik.k > Mobile - +91-9894991640 Do you mean the error messages from a model instance? You can just us

[Rails] ActiveRecord::Errors introspection

2009-07-21 Thread Evan C
e error message. However, this is going to get messy when I translate my app into multiple languages. Does anyone know of a way to determine which validation caused a specific error? thanks Evan --~--~-~--~~~---~--~~ You received this message because you are subscribe

[Rails] Re: nil object in create_time_zone_conversion_attribute?

2009-07-20 Thread Evan Light
Michael Madrid wrote: > I just upgraded to 2.3.2 on Windows 7 and am getting the error. Using > file system gives a different error Unable to create directory, and > memcached won't install. Not sure what to do. I've seen this problem in 2.3.2 and now in 2.3.3. The above mentioned solution d

[Rails] ActiveRecord validations ignore SQLite3 timeout configuration

2009-07-19 Thread Evan
timeout policy. At present we are forced to re-write those validations in a safe way. Thoughts? Thanks for any advice or consideration. http://dev.rubyonrails.org/ticket/8811 -Evan Worley --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails] ActiveRecord validations ignore SQLite3 timeout configuration

2009-07-19 Thread Evan
timeout policy. At present we are forced to re-write those validations in a safe way. Thoughts? Thanks for any advice or consideration. http://dev.rubyonrails.org/ticket/8811 -Evan Worley --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails] Re: :Partial and :locals question

2009-07-19 Thread Evan
Sorry just replied to you directly and not to the group.. Use the defined? method like... <% if defined?(child_index) && child_index %> -Evan Worley On Jul 16, 9:46 pm, Rodrigo Dominguez wrote: > what about using > > <% unless child_index.blank? -%> >   D

[Rails] URL-encoding and decoding on Rails

2009-03-23 Thread Evan
I have a URL parameter that has special characters on it, so I do URL encoding as such: my_url(:email => CGI.escape("someemail+extens...@mail.com") Now, I would expect to call a CGI.unescape(params[:email]) on the action receiving this parameter, and this is true according to my functional tests

[Rails] Preventing read access to a model

2009-03-01 Thread Evan
In a model are there any methods that are called before providing access to the model? I'm exploring ways to enforce privileges in my app. Wondering if I can define some sort of "before" method in the model to prevent read access to the model unless certain conditions are true.

[Rails] Associating ActiveRecord and non-ActiveRecord objects

2009-02-27 Thread Evan
Is it possible to define a model that is not backed by a database table and still relate other models to it? Will relations between instances of these models persist? For instance, say I have a Cat model that does not inherit from ActiveRecord and an Owner model that does. Can I assign a particul

[Rails] Re: Authorization system recommendations

2009-02-27 Thread Evan
og/2008/08/rails-authorization-plugins/ Declarative Authorization plugin – well-designed authorization system that abstracts authorization declarations from application code http://github.com/stffn/declarative_authorization/tree Evan --~--~-~--~~~---~--~~ You received th

[Rails] Authorization system recommendations

2009-02-27 Thread Evan
no generators or systems requiring manual code updating after initial install) We are already using authlogic for authentication. Thanks. Evan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:

[Rails] Re: Joining three objects uniquely using :has_many

2009-02-25 Thread Evan
Andrew, Changing the scope of validates_uniqueness_of to product_id solved my problem. Thank you. Evan On Feb 21, 8:32 pm, Andrew Bloom wrote: > I'm not sure I'm 100% clear, but it sounds like you are saying that a > Repair may only have one combination of Part/Product

[Rails] Re: Joining three objects uniquely using :has_many

2009-02-23 Thread Evan
Andrew, Your last paragraph helps clarify it a little bit. I think you are correct in that I am chasing the wrong thing. I think that stems from not fully understanding the scope option of validates_uniqueness_of. The documentation for it is not clear. Evan On Feb 21, 8:32 pm, Andrew Bloom

[Rails] Re: Mysql error unknown column 'columns.user_id'

2009-02-21 Thread Evan
Can you paste the lines where that error is raised? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe fr

[Rails] Re: Joining three objects uniquely using :has_many

2009-02-21 Thread Evan
I just tried this code and was still able to create records with different levels for the same part/product combination. class RepairClass < ActiveRecord::Base belongs_to :level belongs_to :product belongs_to :part validates_presence_of :level_id, :product_id, :part_id validates_unique

[Rails] Re: Joining three objects uniquely using :has_many

2009-02-21 Thread Evan
So I could create a unique index consisting of product_id, part_id. Is it possible to then create a unique index consisting of level_id and the other index? I am using MySQL currently. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[Rails] Re: Joining three objects uniquely using :has_many

2009-02-21 Thread Evan
My join model is "Repair class." Its attributes are: - id (PK) - level_id (FK) - product_id (FK) - part_id (FK) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, sen

[Rails] Joining three objects uniquely using :has_many

2009-02-21 Thread Evan
o the same part/product combination which does not happen in the real world. What's the best way to proceed? Evan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To pos

[Rails] configure.gem image_science doesn't work

2008-12-18 Thread Evan Dorn
ou're running: > ruby 1.8.6.114 at > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > rubygems 1.3.1 at /Users/evan/.gem/ruby/1.8, /Library/Ruby/Gems/1.8, > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 ... So I'm

[Rails] Re: Changing drop_receiving_element behavior to make a GET request instead of POST

2008-11-06 Thread Evan
For those curious, I solved this problem by abandoning the drop_receiving_element helper and writing my own Ajax.Updater (see Prototype documentation) code on the page. Ajax.Updater takes a "method" option which allows you to specify get, post, put, delete, etc. On Nov 2, 8:16 pm, Ev

[Rails] Changing drop_receiving_element behavior to make a GET request instead of POST

2008-11-02 Thread Evan
Is it possible to specify which HTTP method to use in the drop_receiving_element helper? I'm trying to follow REST best practices in my app. On one page I have the user drop an icon into an area which calls the "new" representation of a particular resource. However, drop_receiving_element sends th

[Rails] Re: Can not figure out why validation fails

2008-10-22 Thread Evan Chaney
Thanks, Mark. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL P

[Rails] Re: Can not figure out why validation fails

2008-10-21 Thread Evan
Mark, Thanks for the information about automatic validations in has_many- related models. Can you point me to documentation on this? I'd like to learn more about how it works. Thanks. Evan --~--~-~--~~~---~--~~ You received this message because yo

[Rails] Re: Can not figure out why validation fails

2008-10-21 Thread Evan
Daniel, I did not notice that warning about validates_presence_of before. Thanks for bringing it to my attention. Your thought process helped me understand better what is going on. Evan --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Rails] Can not figure out why validation fails

2008-10-21 Thread Evan
er console. Why is this object not validating? Driving me nuts. Thanks. Evan --~--~-~--~~~---~--~~ 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

[Rails] Re: Many to Many Question

2008-10-20 Thread Evan
lots of users you may be better off writing a custom SQL statement and letting your database do the counting. Evan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to

[Rails] Data modeling references

2008-10-20 Thread Evan
Do you know of any great books, references or other works that teach data modeling? I am especially interested in learning more about resolving complex relationships. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ru

[Rails] Re: Ensuring both objects in a one-to-many association are not saved without the presence of the ot

2008-10-19 Thread Evan
I guess the question I was really getting at is how can I validate the presence and association of both objects before they are saved? I feel more confident when there is code in the model itself to ensure the integrity of the data rather than depending on each programmer to place every save in a

[Rails] Re: Ensuring both objects in a one-to-many association are not saved without the presence of the ot

2008-10-19 Thread Evan
Oh wait. I think I just got it. Start a transaction, save the primary object thus getting the id, save the secondary object, end transaction. Right? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk

[Rails] Re: Ensuring both objects in a one-to-many association are not saved without the presence of the ot

2008-10-19 Thread Evan
Even with transactions can I save the object containing the foreign key without saving the primary object first? In other words, can I save the object that requires the foreign key to be present if I don't have the foreign key because the primary object has not yet been saved, thus generating an i

[Rails] Ensuring both objects in a one-to-many association are not saved without the presence of the other

2008-10-19 Thread Evan
Hello. I have an object which is related to a second object through has_many. The second object (obviously) is related to the first through belongs_to. I want to ensure that neither object is saved to the database without the presence of the other. How can I do this? Thanks. Evan

[Rails] Adding attributes to subclasses created using polymorphic associations

2008-10-18 Thread Evan
ll of the attributes of the superclass as well as those defined in the migration file generated for the subclass. If this is expected behavior how can I map the columns of the subclass' table to the subclass objects? Thanks. Evan --~--~-~--~~~---~--~~ You rec