« Back to channel list

#RubyOnRails - 17 June 2019

« Back 1 day Forward 1 day »
[00:00:42] orbyt_: has joined #RubyOnRails
[00:12:16] bradleyprice: has joined #RubyOnRails
[00:29:11] bambanx: has joined #RubyOnRails
[00:37:52] dviola: has joined #RubyOnRails
[00:40:01] Blue^NeXuS: has joined #RubyOnRails
[00:50:00] tdy: has joined #RubyOnRails
[01:52:10] MrCrackPotBuilde: has joined #RubyOnRails
[02:00:42] dviola: has joined #RubyOnRails
[02:07:18] quazimodo: has joined #RubyOnRails
[02:27:51] ellcs: has joined #RubyOnRails
[02:47:21] ariedler: has joined #RubyOnRails
[02:57:23] tdy: has joined #RubyOnRails
[02:58:44] Saukk: has joined #RubyOnRails
[03:09:03] braincrash: has joined #RubyOnRails
[03:21:17] MrCrackPotBuilde: has joined #RubyOnRails
[03:23:45] sevenseacat: has joined #RubyOnRails
[03:47:00] bradleyprice: has joined #RubyOnRails
[03:53:16] Technodrome: has joined #RubyOnRails
[04:25:51] regedit: has joined #RubyOnRails
[04:27:45] SteenJobs: has joined #RubyOnRails
[04:30:48] SteenJobs: has joined #RubyOnRails
[04:48:48] ariedler: has joined #RubyOnRails
[05:07:56] sajinmp: has joined #RubyOnRails
[05:11:14] bradleyprice: has joined #RubyOnRails
[05:11:50] bradleyprice: has joined #RubyOnRails
[05:15:45] conta: has joined #RubyOnRails
[05:18:24] srinidhi: has joined #RubyOnRails
[05:42:48] bradleyprice: has joined #RubyOnRails
[05:45:56] salvor: has joined #RubyOnRails
[05:47:47] Aherin: has joined #RubyOnRails
[06:10:45] bradleyprice: has joined #RubyOnRails
[06:17:10] bradleyprice: has joined #RubyOnRails
[06:31:08] srinidhi: has joined #RubyOnRails
[06:49:35] ariedler: has joined #RubyOnRails
[06:58:05] schne1der: has joined #RubyOnRails
[06:58:16] quazimodo: has joined #RubyOnRails
[07:00:35] Tempesta: has joined #RubyOnRails
[07:00:51] ZAJDAN: hi....In view I fill a table via <% Array(@commission).each do |kweek| %> ...is somehow possible display <thed><th>.... after that the table is generated?
[07:06:52] bradleyprice: has joined #RubyOnRails
[07:14:06] drale2k_: has joined #RubyOnRails
[07:18:28] armyriad: has joined #RubyOnRails
[07:22:25] mikecmpbll: has joined #RubyOnRails
[07:26:55] lxsameer: has joined #RubyOnRails
[07:43:54] notype: has joined #RubyOnRails
[07:43:56] jefffrails35: has joined #RubyOnRails
[07:45:13] bradleyprice: has joined #RubyOnRails
[08:07:47] deepreds1: has joined #RubyOnRails
[08:15:03] conta: has joined #RubyOnRails
[08:26:55] molly: has joined #RubyOnRails
[08:50:21] drale2k_: has joined #RubyOnRails
[08:50:22] ariedler: has joined #RubyOnRails
[09:13:19] drale2k_: has joined #RubyOnRails
[09:17:23] quazimodo: has joined #RubyOnRails
[09:32:48] dviola: has joined #RubyOnRails
[09:51:27] jefffrails35: has joined #RubyOnRails
[09:58:30] ZAJDAN: I have one view where are 3 blocks/tables ....each the block has own "input and button" each the trigger of button re-render the view and it empties each previous block/table
[09:59:26] ZAJDAN: I would like to hold the tables from previous render...is it somehow possible?
[10:04:34] ZAJDAN: for exaple....I press button2 to generate Table1 ...table if generated ...now I press Button2 ..Table2(block2) is generated, but Table1 of block1 is emptied
[10:05:09] ZAJDAN: correction : for exaple....I press Button1 to generate Table1 ...table if generated ...now I press Button2 ..Table2(block2) is generated, but Table1 of block1 is emptied
[10:20:19] drale2k_: has joined #RubyOnRails
[10:22:06] conta: has joined #RubyOnRails
[10:23:03] DTZUZO: has joined #RubyOnRails
[10:39:19] conta: has joined #RubyOnRails
[10:49:34] ZAJDAN: maybe 'yield' is what I am looking for
[10:51:10] ariedler: has joined #RubyOnRails
[10:55:09] ariedler: has joined #RubyOnRails
[11:20:08] crankharder: has joined #RubyOnRails
[11:21:15] lankanmon: has joined #RubyOnRails
[11:25:41] apparition: has joined #RubyOnRails
[11:27:06] Dysp: has joined #RubyOnRails
[11:46:55] drale2k_: has joined #RubyOnRails
[11:57:35] Cork: has joined #RubyOnRails
[12:12:49] regedit: has joined #RubyOnRails
[12:17:28] ZAJDAN: nobody here?
[12:39:12] haxx0r: has joined #RubyOnRails
[12:59:13] deathwishdave: has joined #RubyOnRails
[13:04:58] Iarfen: has joined #RubyOnRails
[13:05:24] Iarfen: I get the following error: "bundler: failed to load command: rails (/home/ismaelc/.rbenv/versions/2.5.1/bin/rails)", what I should do?
[13:10:04] bradleyprice: has joined #RubyOnRails
[13:11:29] jefffrails35: has joined #RubyOnRails
[13:12:35] Dr_MDMA_MD: has joined #RubyOnRails
[13:12:51] Saukk: has joined #RubyOnRails
[13:26:10] SigizMG: has joined #RubyOnRails
[13:30:22] duleja: has joined #RubyOnRails
[13:31:41] uks: has joined #RubyOnRails
[13:55:58] NL3limin4t0r: has joined #RubyOnRails
[13:58:10] conta: has joined #RubyOnRails
[14:19:41] gregf_: has joined #RubyOnRails
[14:27:26] ZAJDAN: could anybody help me about 'yield' ?
[14:32:26] Technodrome: has joined #RubyOnRails
[14:38:26] bradleyprice: has joined #RubyOnRails
[14:39:01] bradleyprice: has joined #RubyOnRails
[14:40:34] bradleyprice: has joined #RubyOnRails
[14:42:22] bradleyprice: has joined #RubyOnRails
[15:12:35] deathwishdave: has joined #RubyOnRails
[15:14:26] fragamus: has joined #RubyOnRails
[15:15:44] dionysus69: has joined #RubyOnRails
[15:27:32] havenwood: ZAJDAN: Show your code?
[15:27:42] havenwood: Iarfen: rbenv rehash
[15:28:40] havenwood: Iarfen: gem install bundler && bundle && rbenv rehash
[15:29:11] Iarfen: havenwood: thanks, although I'm installing all over again already :D
[15:30:12] havenwood: Iarfen: It's a good chance to bump from 2.5.1 to 2.5.5!
[15:35:01] bradleyprice: has joined #RubyOnRails
[15:42:40] bradleyprice: has joined #RubyOnRails
[15:55:33] orbyt_: has joined #RubyOnRails
[16:16:40] Inside: has joined #RubyOnRails
[16:22:51] nate-^: has joined #RubyOnRails
[16:25:30] deepredsky: has joined #RubyOnRails
[16:26:01] nate-^: has joined #RubyOnRails
[16:28:27] nate-^: I have Il8n.translate('errors.messages.taken') inside a class ProductTest < ActiveSupport::TestCase and it's giving me an uninitialized constant. I tried putting require 'i18n' at the top with no success. Rails 5.1.7 Ruby 2.5.0p0
[16:31:59] bradleyprice: has joined #RubyOnRails
[16:34:42] bradleyprice: has joined #RubyOnRails
[16:41:25] Inside: -> il8 <-
[16:45:21] nate-^: should be an l
[16:45:40] nate-^: just tried fixing that and it errors on require
[16:46:16] nate-^: otherwise it says NameError: uninitialized constant ProductTest::Il8n
[16:46:30] Inside: isn't it i18n?
[16:46:32] Inside: https://guides.rubyonrails.org/i18n.html
[16:47:15] Inside: also, you can just do t("errors.messages.taken")
[16:47:37] Inside: (well, in your views)
[16:48:08] Inside: ah, no, looks like you can use it everywhere
[16:53:07] nate-^: yep that was it..
[16:53:29] orbyt_: has joined #RubyOnRails
[16:54:41] srinidhi: has joined #RubyOnRails
[16:57:38] nate-^: has joined #RubyOnRails
[17:00:21] duderonomy: has joined #RubyOnRails
[17:07:26] ebbflowgo: has joined #RubyOnRails
[17:11:52] sameerynho: has joined #RubyOnRails
[17:13:09] duderonomy: has joined #RubyOnRails
[17:14:26] orbyt_: has joined #RubyOnRails
[17:26:32] orbyt_: has joined #RubyOnRails
[17:37:15] NL3limin4t0r: nate-^ is already gone, but it's easy to remember if you know that I18n stands for Internationalization the 18 stands for the 18 characters between the I and n.
[17:38:13] Caly`: has joined #RubyOnRails
[17:40:02] Net: how do I express this in activerecord? foo = $1 AND (bar = $2 OR baz = $3)
[17:40:48] NL3limin4t0r: Net: Model.where(bar: $2).or(baz: $3).where(foo: $1)
[17:41:07] NL3limin4t0r: Net: Model.where(bar: $2).or(Model.where(baz: $3)).where(foo: $1)
[17:41:12] NL3limin4t0r: First one is invalid
[17:42:30] Net: NL3limin4t0r: I see, there's an implicit parenthesis around each call?
[17:43:21] duleja: has joined #RubyOnRails
[17:44:03] NL3limin4t0r: Net: RoR wraps a lot of parenthesis in SQL statements. But `Model.where(bar: $2).or(Model.where(baz: $3))` will for sure be wrapped with parenthesis.
[17:44:16] Net: Thank you!
[17:44:54] NL3limin4t0r: The alternative is `Model.where(foo: $1, bar: $2).or(Model.where(foo: $1, baz: $3))`
[17:45:21] NL3limin4t0r: But with the above you have `foo = $1` two times in the query.
[17:45:39] Net: how about @company.where(bar: $2).or(Model.where(baz: $3))? Will the @company clause be ANDed with both ORs or just the first?
[17:46:00] duderonomy: has joined #RubyOnRails
[17:46:58] NL3limin4t0r: Net: Just the first. You could do `@company.where(bar: $2).or(@company.where(baz: $3))` to get what you want.
[17:48:01] Net: I must say, I think this would be a lot cleaner with a .and and block arguments where self is the query
[17:49:35] NL3limin4t0r: Yeah, it's not the cleanest solution.
[17:50:27] NL3limin4t0r: I prefer to shove the `or` statements as in the front as possible. Otherwise the where statement might end up with lots of duplication.
[17:50:39] NL3limin4t0r: ^ The SQL output I mean
[17:51:20] Net: makes sense
[17:54:41] NL3limin4t0r: Net: You could also opt for an arel solution: `.where(foo: $1).where(Model.arel_table[:bar].eq($2).or(Model.arel_table[:baz].eq($3)))` which results in cleaner SQL but more cluttered Ruby.
[17:55:12] Net: interesting
[17:56:38] NL3limin4t0r: Of cource, when using arel you mostly assign `Model.arel_table` to a variable first, to shorten the whole thing and make it more readable.
[17:57:28] tdy: has joined #RubyOnRails
[17:57:38] Net: that's nicer
[17:58:35] NL3limin4t0r: eg. `ct = Company.arel_table; @company.where(foo: $1).where(ct[:bar].eq($2).or(ct[:baz].eq($3)))` where `ct` stands for "company table".
[17:59:02] Net: I think I prefer that over the implicit parens
[18:01:54] NL3limin4t0r: `eq` stands of couse for `equals`, but you can also use other operators that are normally not allowed in simple `where` statemts. Like `gt` or `lt` (greater than and less then respectively) and a whole bunch more.
[18:01:56] NL3limin4t0r: https://www.rubydoc.info/gems/arel/Arel/Predications
[18:04:01] Dbugger: has joined #RubyOnRails
[18:05:53] Exuma: has joined #RubyOnRails
[18:07:11] bradleyprice: has joined #RubyOnRails
[18:11:48] Iarfen: If I get undefined method 'value' in 'answer_liker_statement' factory (NoMethodError) what is exactly happening? The file is the following one: https://github.com/ebconsultingcl/falabella-financiero/blob/master/app/models/answer_liker_statement.rb
[18:13:25] havenwood: Iarfen: 404
[18:13:58] Iarfen: havenwood: you can't see the file?
[18:14:03] Iarfen: I can paste it
[18:15:09] havenwood: Iarfen: Nope, nothing there.
[18:15:17] Iarfen: havenwood: this is the file: https://dpaste.de/34K2#L
[18:16:38] havenwood: Iarfen: `self` in this context is `AnswerLikerStatement`, so `self.value` is calling `AnswerLikerStatement.value`, which is undefined.
[18:17:20] havenwood: Iarfen: Err, I mean `self` is an instance of `AnswerLikerStatement`.
[18:17:30] havenwood: Iarfen: #<AnswerLikerStatement:...>
[18:17:44] havenwood: Iarfen: Are you expecting AnswerLikerStatement#value to be defined?
[18:18:16] havenwood: Iarfen: I see you're delegating a #current_value but I don't see #value.
[18:19:52] Iarfen: havenwood: I've changed it to current_value but still gives the same error message. Should I clear the cache?
[18:20:16] havenwood: Iarfen: Gives an error about #value?
[18:20:26] havenwood: Iarfen: Yeah, turn whatever you can off and back on again. :)
[18:20:27] Iarfen: havenwood: yes, about #value
[18:20:45] havenwood: Iarfen: Does clearing the cache fix it?
[18:21:56] Iarfen: havenwood: I can't clear the cache, it doesn't allows me to access the console
[18:22:39] Iarfen: havenwood: it gives me the same error of #value when I try to enter the rails console
[18:22:48] havenwood: Iarfen: Did your changes save?
[18:22:52] havenwood: Iarfen: ¯\_(ツ)_/¯
[18:23:01] Iarfen: havenwood: yes, they did
[18:23:42] schne1der: has joined #RubyOnRails
[18:24:44] havenwood: Iarfen If `bin/rails tmp:cache:clear` and `bin/spring stop && bin/spring server` don't work, I'd try restarting the terminal. Dunno what's expecting value though. I've got to run and don't have time to look closely.
[18:26:21] podman: has joined #RubyOnRails
[18:27:54] Momentum: do i have to install "irb" manually to get access to rails console?
[18:27:58] kapilp: has joined #RubyOnRails
[18:28:58] NL3limin4t0r_afk: Iarfen: Are you shure you have the database column present? The schema doesn't exactly represent what's in the database. It's generated upon running migrations. If you work with a team someone could have pushed it. If you pulled it without running migrations it still shows up in the schema.rb file.
[18:29:29] NL3limin4t0r_afk: Iarfen: Run `rails db:schema:load` and check if the `value` column is still present in the schema.rb afterwards.
[18:29:31] Iarfen: NL3limin4t0r_afk: the file schema.rb should be always correct?
[18:30:44] Iarfen: NL3limin4t0r_afk: it gives me the error of #value, the same as before, when I run the command "rake db:schema:load" (the command "rails db:schema:load" hasn't worked)
[18:33:38] NL3limin4t0r_afk: You could try to spoof the value temporary. Simply add `def value; 1; end` into the class. Run the migrations and remove the method.
[18:34:40] NL3limin4t0r_afk: Momentum: You shouldn't have to. Normally when in the RoR project folder you can simply run `rails console` or `bundle exec rails console`.
[18:35:02] Iarfen: NL3limin4t0r_afk: I've done that and I've got the following error: "NoMethodError: undefined method 'value' in 'answer_liker_statement' factory"
[18:35:15] Iarfen: I think I've to add the method value in other place
[18:36:30] railsnoob: has joined #RubyOnRails
[18:37:09] NL3limin4t0r_afk: The code you linked doesn't methion any "factory". Check what project file the exception is raised.
[18:37:27] Momentum: NL3limin4t0r_afk: seems like both commands require irb to be installed and i can't see it on the gemfile
[18:37:50] NL3limin4t0r_afk: Momentum: have you already ran `bundle install` ?
[18:38:15] Momentum: i ran it multiple times installing other things in the past
[18:39:04] railsnoob: Hello! I have a select tag, and I was wondering how I could allow multiple selections on it. If I add another select tag to the submission form, then only the latest select tag gets passed.
[18:41:29] NL3limin4t0r: Momentum: Bundler is project specific. I assume you ran it in the past in the current project. Btw the reason it's not in the Gemfile is becouse it's part of the Ruby standard library. So it should come with the Ruby installation.
[18:42:05] Momentum: so i have to install irb globally?
[18:44:10] GodFather: has joined #RubyOnRails
[18:44:22] NL3limin4t0r: irb should be installed upon installing Ruby. what is the output of `ruby --version`? and does `irb` (the command) work in your terminal?
[18:45:09] Momentum: ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
[18:45:39] Momentum: and yes, it seems like irb works
[18:45:48] Momentum: the command
[18:48:47] NL3limin4t0r: railsnoob: You could use a multi-select. Add the `multiple: true` option to the helper you're using. eg. `f.select(:some_attribute, options, multiple: true)` or `select_tag(:name, options, multiple: true)`.
[18:49:16] NL3limin4t0r: ^ With `options` I mean select options.
[18:50:48] bradleyprice: has joined #RubyOnRails
[18:50:56] railsnoob: Ok. I have this tag: <%= f.select :tags, $array, {}, {class: "input dropdown", multiple: true} %> with multiple set as true. Does that store the value as an array? When I do that, I get an error for doing a for loop to get the values, so I'm guessing it's not an array.
[18:51:10] Momentum: what could be the problem NL3limin4t0r?
[18:52:47] NL3limin4t0r: The multi-select is pretty ugly, but you can make it more usable with for example the `chosen-rails` gem (Or any other gem that makes multi-selects more usable.)
[18:53:22] NL3limin4t0r: railsnoob: That should be: <%= f.select :tags, $array, {multiple: true}, {class: "input dropdown"} %>
[18:53:52] railsnoob: NL3limin4t0r Ok, thank you so much for your help! But what type of data is the output stored as?
[18:55:04] NL3limin4t0r: If I'm not mistaken "multiple" is a rails option.
[18:55:21] NL3limin4t0r: railsnoob: The data is send to the controller. How it is saved depends on how you handle it there.
[18:56:00] railsnoob: Ok, so it doesn't have a primitive data type yet? Would it not be a string or an array, just data for the controller?
[18:56:03] Inside: anyone here use HAML and ERB in the same application?
[18:56:25] NL3limin4t0r: Momentum: Weird going on. What is the error you're getting when you try to run `bundle exec rails console` ?
[18:56:39] NL3limin4t0r: Nothing* weird
[18:56:47] Momentum: cannot load such file --irb
[18:57:12] Momentum: i can't send the entire output
[18:59:39] orbyt_: has joined #RubyOnRails
[19:01:17] Iarfen: what happens if I delete spec?
[19:01:29] NL3limin4t0r: railsnoob: To save an array as attribute you have to set the database column to `text` and serialize it in the model. Check out https://api.rubyonrails.org/classes/ActiveRecord/AttributeMethods/Serialization/ClassMethods.html#method-i-serialize
[19:02:19] Momentum: this actually happened last time and i could resolve it by adding irb to the gemfile
[19:02:30] railsnoob: NL3limin4t0r: Ok, thank you. I have it set as text, but didn't know about serialization yet. Great!
[19:03:02] NL3limin4t0r: railsnoob: eg. something like this in your model `serialize :your_attribute, Array`
[19:04:01] railsnoob: NL3limin4t0r: Gotcha, I can do that. Thank you so much for your help! Learning ruby is hard but better because incredible people like you help the community out
[19:06:18] optikalmouse: has joined #RubyOnRails
[19:07:27] bradleyprice: has joined #RubyOnRails
[19:07:49] NL3limin4t0r: Momentum: I personally haven't really encountered that error before. Have you tried reinstalling Ruby? If you're running rvm you can simply `rvm reinstall 2.6.3` (the version should be changed to what you use.)
[19:07:54] bradleyprice: has joined #RubyOnRails
[19:08:27] Momentum: i'll try that
[19:09:13] Momentum: archlinux has two packages Ruby and Ruby-irb maybe Ruby doesn't have irb by default
[19:09:16] Momentum: but i dunno
[19:12:09] NL3limin4t0r: Momentum: If you're running ruby from the distro-repo you might only have installed the runtime environment. In that case you could try and install the `Ruby-irb` package (you say you spotted), but for development you normally install `ruby-dev`.
[19:13:03] NL3limin4t0r: Inside: You can run the two together without issue. As long as you're not trying to do both in one file.
[19:14:27] NL3limin4t0r: eg. `some_view.html.haml.erb` is most likely not going to work. But you can have some files with the .haml extention and some files with the .erb extention.
[19:17:29] NL3limin4t0r: Iarfen: Assuming you mean the `spec` directory I have no clue. If you're running version control you can simply delete the folder, check what happens and revert.
[19:17:48] NL3limin4t0r: Iarfen: If you're not using rspec the directory isn't used anyway.
[19:20:58] NL3limin4t0r: ACTION realizes it's getting late.
[19:21:18] Momentum: thanks for the help NL3limin4t0r
[19:23:35] NL3limin4t0r: Momentum: Try to see if you can find the `ruby-dev` package (I don't know if it's named differently under Arch). Otherwise try to install ruby using rvm (https://rvm.io/) or rbenv (https://github.com/rbenv/rbenv)
[19:24:49] NL3limin4t0r_afk: Momentum: good luck (you might also be able to find help in the #ruby irc for this issue)
[19:25:19] Momentum: i will see, thank you
[19:25:38] NL3limin4t0r_afk: Momentum: crossposting without mentioning is considdered rude, so mention that you've already posted something here
[19:26:15] Momentum: ah! never heard of that but i'll consider :D
[19:33:30] Iarfen: I get the error: "`method_missing': undefined method `source' for #<Class:0x000055c1d8a30468> (NoMethodError)" for the following file: https://dpaste.de/Paq1
[19:34:51] bradleyprice: has joined #RubyOnRails
[19:35:17] bradleyprice: has joined #RubyOnRails
[19:35:56] violentE: has joined #RubyOnRails
[19:40:42] Exuma: has joined #RubyOnRails
[19:51:17] bradleyprice: has joined #RubyOnRails
[20:08:27] zojka: has joined #RubyOnRails
[20:09:08] bradleyprice: has joined #RubyOnRails
[20:33:40] bradleyprice: has joined #RubyOnRails
[20:35:12] bradleyprice: has joined #RubyOnRails
[20:51:01] Technodrome: has joined #RubyOnRails
[20:52:12] cschneid: has joined #RubyOnRails
[21:06:08] zojka: hi people
[21:13:29] ur5us: has joined #RubyOnRails
[21:17:09] bradleyprice: has joined #RubyOnRails
[21:18:20] Slogger: has joined #RubyOnRails
[21:18:59] cschneid: has joined #RubyOnRails
[21:20:11] bradleyprice: has joined #RubyOnRails
[21:22:28] bradleyprice: has joined #RubyOnRails
[21:23:10] Slogger: I'm moving an app from Rails 4 to Rails 5 and my test database has stopped resetting between runs. I haven't been able to figure out why. Using Minitest, not sure if I'm missing something obvious.
[21:34:01] s00pcan_: has joined #RubyOnRails
[21:35:58] bradleyprice: has joined #RubyOnRails
[21:40:29] Slogger: I'm reading that I shouldn't need database cleaner, not sure what else to try.
[21:49:49] shansen: Are your test classes inheriting from ActiveSupport::TestCase?
[21:49:56] zojka: Slogger: I personally have not experience, but did you see this? https://www.ombulabs.com/blog/rails/upgrades/upgrade-rails-from-4-2-to-5-0.html
[21:50:11] cschneid: has joined #RubyOnRails
[21:50:41] yoshie902a: has joined #RubyOnRails
[21:50:43] Slogger: The tests in question mostly inherit from ActionDispatch::IntegrationTest.
[21:50:51] armyriad: has joined #RubyOnRails
[21:51:35] shansen: Should be fine then as that inherits from ActiveSupport::TestCase
[21:51:59] shansen: I was just thinking if it was something about it not being wrapped in transactions.
[21:53:07] dustinm`: has joined #RubyOnRails
[21:53:29] yoshie902a: With strong parameters, if someone were to pass bad data, that did not include the require parameter, e.g. `params.require(:search).permit(…) ` a `ActionController::ParameterMissing: param is missing or the value is empty: search` error appears. What is is the preferred way to handle such an error and should you be testing it?
[21:53:54] Slogger: That's what I wondered, just didn't find anything about it that was pertinent. And Database Cleaner making things work does suggest that it is transaction related I think.
[22:07:17] ellcs: has joined #RubyOnRails
[22:15:13] bradleyprice: has joined #RubyOnRails
[22:30:31] MasterAsia: has joined #RubyOnRails
[22:31:27] cschneid: has joined #RubyOnRails
[22:32:06] orbyt_: has joined #RubyOnRails
[22:36:04] dviola: has joined #RubyOnRails
[22:41:19] Inside: regretably I kind of like HAML
[22:52:36] ebbflowgo: has joined #RubyOnRails
[23:02:46] bradleyprice: has joined #RubyOnRails
[23:06:05] crankharder: has joined #RubyOnRails
[23:24:37] quazimodo: has joined #RubyOnRails
[23:56:07] bradleyprice: has joined #RubyOnRails