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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/719904a6-4a7f-4971-8103-afccf6ee14af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello guys,
As all of you, I think Ruby a beautiful programming language. And I wrote a blog post about that.
I call it Idiomatic Ruby
Any comment or advice will alwasy be welcome :)
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9deec1e6-c3d9-4882-ad92-9fda482f215e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Jim,--hope you will be fine, i read your post so i want to contact you, i need a web developer who working on ruby on rails or node.Js , i need for my project and then for coming next project, so if it possible we can talk about it, its a free classified website, we can talk about requirements after i get your response,Thanks & Regards,Tariq
On Saturday, 11 March 2017 09:07:22 UTC+5, jim wrote:Hi,I am deeply sorry if this is an inappropriate post for this group. Please disregard if it is.I'm Jim, a Rails developer for about 8 years (turning 9 in May). I'm looking for a part timeproject that I could work on after office hours as I am away from my family and have anample amount of time in the evening when I get home from work. I am at Brisbane,Australia so my timezone is +10 UTC. With that, it may be good to get clients on the otherside of the globe so it's still office hours when I'm back at home.If you have something in mind, please don't hesitate to send me an email.Thank you and have a great weekend everyone!Best regards,Jim
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 rubyonrails-talk+unsubscribe@googlegroups.com .
To post to this group, send email to rubyonrails-talk@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .77f3f2a3-8bdc-416b-b4f9- 3b2d5d2f6113%40googlegroups. com
visit my blog at http://jimlabs.herokuapp.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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJ8y7VdTJoh78_yFZm3KaVZvczze52qP-7BtRn-sGazykO0%3DHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Saturday, March 25, 2017 at 12:44:02 AM UTC-7, Илья Николаевич wrote:
Hi there!
In my project I have a few engines. Each engine has its own set of Mailers and templates.
I want to have Previews for each specific engine, and keep them in engines.
I've found that ActionMailer Preview provides a way to change a path to preview classes, but looks like it's impossible to use an array of paths, or use something like `prepand_view_path / append_view_path ` like we can do in controllers.
https://github.com/rails/rails/blob/ 3faf7485623da55215d6d7f3dcb2ee d92c59c699/actionmailer/lib/ action_mailer/preview.rb#L92
Is there any way to have multiple paths for ActionMailer Preview?
Is it possible to create some kind of monkey patch to implement it?
Thanks!
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e0a7e234-676a-4aed-933b-9baf0653e9d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Evaldo Santos
Github: https://github.com/eva
Linkedin: https://www.linkedin
Skype: evaldosantos@oulook.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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAMNYD%2BMUVHdWZV_6MF5mB0qnKvoGDxrB05AE9P5OopMsuWCh0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Friday, March 31, 2017 at 8:50:39 AM UTC-4, tariq khan wrote:
i need a web developer working on Ruby on Rails or Node.Js
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6337c8ab-56b5-4037-9f8f-b5e3dd24ba2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
i need a web developer working on Ruby on Rails or Node.Js--
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 rubyonrails-talk+unsubscribe@googlegroups.com .
To post to this group, send email to rubyonrails-talk@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .f9a17457-e384-4fe9-8293- a86bd0074b04%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHewxcHNEfvmt5PuHJpOJ%3Dr%3DMrNjciE8TLik%2BLMaULNufGcJ-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi guys,I'm looking for a job as a Ruby/Ruby on Rails Developer.I have 2 years of experience and several completed commercial projects.Location: Moscow (Russia)GitHub: github.com/Pavel-A-SEnglish skills: I think people can understand me :-)P.S. I will be glad to answer any questions - pavel.a...@gmail.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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d8e0fa5f-e075-4f64-92f5-8408c762f1d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Saturday, 11 March 2017 09:07:22 UTC+5, jim wrote:
Hi,I am deeply sorry if this is an inappropriate post for this group. Please disregard if it is.I'm Jim, a Rails developer for about 8 years (turning 9 in May). I'm looking for a part timeproject that I could work on after office hours as I am away from my family and have anample amount of time in the evening when I get home from work. I am at Brisbane,Australia so my timezone is +10 UTC. With that, it may be good to get clients on the otherside of the globe so it's still office hours when I'm back at home.If you have something in mind, please don't hesitate to send me an email.Thank you and have a great weekend everyone!Best regards,Jim
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/77f3f2a3-8bdc-416b-b4f9-3b2d5d2f6113%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f9a17457-e384-4fe9-8293-a86bd0074b04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Trying to validate presence where another field is not null--I found this example, the opposite
class
Person < ApplicationRecord
validates
:surname
, presence:
true
,
if
:
"name.nil?"
end
How do I change the if: condition to name not nil?
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 rubyonrails-talk+unsubscribe@googlegroups.com .
To post to this group, send email to rubyonrails-talk@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .7af99734-ca1f-41d0-9252- 7deaad800783%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAMwrwpFjft0g7ux%3DW39uNk1Zd1B%2BOSo_FqphgYf%3DtKJ_f70k2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On 29 March 2017 at 13:37, fugee ohu <fugee279@gmail.com> wrote:
> Trying to validate presence where another field is not null
> I found this example, the opposite
>
> class Person < ApplicationRecord
> validates :surname, presence: true, if: "name.nil?"
> end
>
> How do I change the if: condition to name not nil?
Why have you asked twice? I have responded to the other one.
Colin
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuxKCv5t_cVG%3D5s_w--Q-%2B1%2ByCx--zZ-SL4XNtB-qZgVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On 29 March 2017 at 13:35, fugee ohu <fugee279@gmail.com> wrote:
> Trying to validate presence where another field is not null
> I found this example, the opposite
>
> class Person < ApplicationRecord
> validates :surname, presence: true, if: "name.nil?"
> end
>
> How do I change the if: condition to name not nil?
In this particular case I would use unless:, or "!name.nil?" if you prefer.
Colin
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuyzgCLwFjy_8xB%3D6k9b8LDq9-_iZU3kXbkqVxaDWtDzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
class
Person < ApplicationRecord
validates
:surname
, presence:
true
,
if
:
"name.nil?"
end
How do I change the if: condition to name not nil?
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c02bd1d6-042f-400a-b984-bd345f516b2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
class
Person < ApplicationRecord
validates
:surname
, presence:
true
,
if
:
"name.nil?"
end
How do I change the if: condition to name not nil?
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7af99734-ca1f-41d0-9252-7deaad800783%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi. You should use different names for association and for foreign key for this association. Looks like they are overlapping, just rename association name to fit ar conventions - and it should work.
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fa1fcc34-ba73-4050-9695-49a489b12616%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
On Wed, Mar 29, 2017, at 02:37, tom wrote:
> hi,i am trying to use ror on a legacy system.
>
>
> model:
> belongs_to :ProvincialTaxAreaCode, class_name: "TaxArea", foreign_key:
> "ProvincialTaxAreaCode" #, primary_key: "ProvincialTaxAreaCode"
>
> ProvincialTaxAreaCode is a varchar(20)
>
>
> html-slect:
> <select class="select optional form-control"
> name="record[ProvincialTaxAreaCode]"
> id="record_ProvincialTaxAreaCode"><option value=""></option>
> <option value="1">test- 123</option></select>
>
> error:
> ActiveRecord::AssociationTypeMismatch (TaxArea(#109333370) expected, got
> String(#70918210)):
>
> how can i still use the varchar field without converting it???
>
I don't think you can use same name for attribute and association
because it'll be confusing (what does model.ProvincialTaxAreaCode mean?
Is it the attribute or the association?). Try naming the association
something else.
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1490735977.2576592.926619240.739914C5%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.
[Rails] fields_for additional table in devise new registration view, what to do about the controller
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ed625a8d-b1d2-46ef-b5fb-4881336f7d2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Mar 28, 2017 at 12:05 PM, tom <tomabroad@gmail.com> wrote:
> where do you see a string?
To repeat quoting you:
> model:
> belongs_to :ProvincialTaxAreaCode
> ProvincialTaxAreaCode is a varchar(20)
Did you look at the Rails guide link I included?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBS0T-UM2O44CZ00%2BVm_9KyNdup%2B65GCHDw2v6SPcT0dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b61958d1-b189-4a83-925e-dbc7a7652c0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Mar 28, 2017 at 10:37 AM, tom <tomabroad@gmail.com> wrote:
> model:
> belongs_to :ProvincialTaxAreaCode, class_name: "TaxArea", foreign_key:
> "ProvincialTaxAreaCode" #, primary_key: "ProvincialTaxAreaCode"
>
> ProvincialTaxAreaCode is a varchar(20)
?? A model "belongs_to" another model, not a string.
This might help:
http://guides.rubyonrails.org/association_basics.html#the- belongs-to-association
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
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 rubyonrails-talk+unsubscribe@googlegroups.com .
To post to this group, send email to rubyonrails-talk@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .CACmC4yDsk1f_ uGp3Ypzt1K3sMg873XA7OYV4uMVjao jTm74q2Q%40mail.gmail.com
For more options, visit https://groups.google.com/d/optout .
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMe%3DrNSXpneRymZc3_4Gpts8%2BHTA6vehFru1WEZXO2yvfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Mar 28, 2017 at 10:37 AM, tom <tomabroad@gmail.com> wrote:
> model:
> belongs_to :ProvincialTaxAreaCode, class_name: "TaxArea", foreign_key:
> "ProvincialTaxAreaCode" #, primary_key: "ProvincialTaxAreaCode"
>
> ProvincialTaxAreaCode is a varchar(20)
?? A model "belongs_to" another model, not a string.
This might help:
http://guides.rubyonrails.org/association_basics.html#the-belongs-to-association
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDsk1f_uGp3Ypzt1K3sMg873XA7OYV4uMVjaojTm74q2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMfbQiBLi9H7cY6ruYMUVnbC%3DDD-KU0zfkqxYw0HH6v73w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Sun, Mar 26, 2017 at 10:05 PM, fugee ohu <fugee279@gmail.com> wrote:
> in application.html.erb if <div id="side"> has no contents to display when
> the page loads, should it still have any width?
Not even remotely a Rails question.
I'd have to think there are general web-dev lists/forums for posting
questions about HTML and CSS. Or you could read the specs...
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yAGd5nA01a54zmStJ0uJo6%2B5z1KF%3DWg0pFpW1o4mPQOuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On 27 March 2017 at 05:02, fugee ohu <fugee279@gmail.com> wrote:
> rake db:create db:schema:load creates tables without id column and migration
> shows id="false" as it runs
> of course, this isn't what i want; how do i run the same command with a
> switch or argument to use id="true" instead and why this default behavior?
No need to ask twice. I have responded in your original post.
Colin
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvxdUkui5HgPfdp9rvWDybDvzmFxM6xFSOtdXPxuOJHzw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On 27 March 2017 at 04:59, fugee ohu <fugee279@gmail.com> wrote:
> rake db:create db:schema:load creates tables without id column and migration
> shows id="false" as it runs
> of course, this isn't what i want; how do i run the
What is in the schema definition file? That is db/schema.rb.
Colin
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsvRz8ib32a5XVY8s_dKPuyUbt2N7T7vNGRL0_nc4WWLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On 27 March 2017 at 04:55, fugee ohu <fugee279@gmail.com> wrote:
>
>
> On Saturday, March 25, 2017 at 2:26:18 PM UTC-4, Клим wrote:
>>
>> Remove gem 'slim-rails' from your Gemfile and run bundle install.
>>
>>
>>
>>
>> пятница, 24 марта 2017 г., 17:11:01 UTC+3 пользователь fugee ohu написал:
>>>
>>> I created an app without ever invoking `rails new ...` because i copied
>>> and pasted another app to begin building the app Now when I run the
>>> generator it generates slim templates How do I make it generate ordinary
>>> html.erb templates instead?
>
>
> Yea I searched my Gemfile but I missed it Found it after I posted I realize
> now that it may need to be installed as a dep, for what i dunno, but it was
> in my Gemfile, I'll leave it installed but not in my Gemfile
Whether it is installed or not is irrelevant, what matters is whether
it is in your Gemfile and Gemfile.lock. The reason it had been
installed was because it was in the Gemfile, not the other way round
(unless you installed it manually).
Colin
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuW15f6ho8FnKGkC5YVbENtNZFyFwgcvozRUvrsCmsqYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1ed21b52-8d80-4f29-b48c-efc78912de31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
of course, this isn't what i want; how do i run the same command with a switch or argument to use id="true" instead and why this default behavior?
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/70db4c1b-6c3f-41e4-b52a-c25eda48d7b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
of course, this isn't what i want; how do i run the
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/910ffd64-030a-4932-bcae-23de01a6f4a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Saturday, March 25, 2017 at 2:26:18 PM UTC-4, Клим wrote:
Remove gem 'slim-rails' from
your Gemfile and run bundle install.
пятница, 24 марта 2017 г., 17:11:01 UTC+3 пользователь fugee ohu написал:I created an app without ever invoking `rails new ...` because i copied and pasted another app to begin building the app Now when I run the generator it generates slim templates How do I make it generate ordinary html.erb templates instead?
Yea I searched my Gemfile but I missed it Found it after I posted I realize now that it may need to be installed as a dep, for what i dunno, but it was in my Gemfile, I'll leave it installed but not in my Gemfile
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b7cead15-ed95-4022-a17d-4aa686040d8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Sun, Mar 26, 2017 at 4:28 PM, Raina Millay <rmmillay@gmail.com> wrote:
> I edited the file in Atom, and yes I closed out Atom and opened it back up
> again after I edited it.
That has nothing to do with the question: did you *restart* the rails
server after editing the config/database.yml file?
> I just started, I don't have the console set up yet because I haven't been
> able to get past this step.
There's nothing to "set up" - it's built in; "rails console" is the command
to run. Try it and see if you can access your ActiveRecord models.
Or alternatively, "rails dbconsole" should give you direct access to the
DB command line.
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yA-HxYiS7_fidqF3Se0U%3DzA_UKz5__NVWO1bti4UasQVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Sunday, March 26, 2017 at 3:06:48 PM UTC-7, Hassan Schroeder wrote:
On Sun, Mar 26, 2017 at 3:00 PM, Raina Millay <rmmi...@gmail.com> wrote:
> Well it says the right password and everything on the file... it didn't at
> first, but then I edited it...
Did you restart the server *after* you edited that file? Can you start
up a Rails console and access the DB from there?
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bd6c6ad6-de7e-4980-8b99-3299d8c870c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.